[R] R grep question

Jeff Newmiller jdnewm|| @end|ng |rom dcn@d@v|@@c@@u@
Thu May 27 08:17:54 CEST 2021

Post in plain text

Use grepl

On May 26, 2021 9:29:10 PM PDT, Kai Yang via R-help <r-help using r-project.org> wrote:
>Hi List,
>I wrote the code to create a new variable:
>I need to create MMR.gene column in CRC data frame, ifgene.all column
>contenes MLH1 or MSH2, then the MMR.gene=Yes, if not,MMR.gene=No
>But, the code doesn't work for me. Can anyone tell how to fix the code?
>Thank you,
>	[[alternative HTML version deleted]]
>R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
>PLEASE do read the posting guide
>and provide commented, minimal, self-contained, reproducible code.

Sent from my phone. Please excuse my brevity.

More information about the R-help mailing list