[R] Comparison Operator

mhoward@micron.com mhoward at micron.com
Fri May 30 01:11:24 CEST 2003


Does R have a comparison operator similar to the Like function, for example:

a<-"Is a Fish"
b<-"Fish"

if(b in a){c<-TRUE}

Michael R Howard
Micron Technology Inc. Boise ID.
Fab C Engineering Software (FCES)
Software Engineer




More information about the R-help mailing list