[R] Checking if an element is part of a vector

Dominik Bach dominik.bach at directbox.com
Wed Oct 6 18:23:07 CEST 2004


Hi!

I want to know if a given element <- ('c64') is part of a vector<- ('c64',  'amiga', 'atari'). 

Does a function exist for this which gives back a logical value?

thankx
db




More information about the R-help mailing list