[R] element of

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed May 7 18:19:31 CEST 2003

alexander.schnee at tuebingen.mpg.de wrote:
> Dear all,
> is there any funktion in R which i can use to check if a single value is 
> element of a matrix or data.frame so that it returns me logical values 
> like TRUE/FALSE.
> Thanks in advance for your help!

See help("%in%")

Uwe Ligges

More information about the R-help mailing list