Martin Batholdy wrote:
thanks!



Now I have one more question;

How can I do the reverse?
when %in% is == (for two vectors of different lengths); what is the equivalent 
to !=  ?


a %in% b returns a logical vector, so

!a %in% b

returns its negation.  See order of precedence in ?Syntax.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to