Francisco do Nascimento Junior <[EMAIL PROTECTED]> writes:

> I need to know which strings of an array that are in another array.
> What a best solution?

%in%

> c("foo", "bar", "baz") %in% c("foo", "bar", "boz", "bonz")
[1]  TRUE  TRUE FALSE

______________________________________________
[EMAIL PROTECTED] mailing list
http://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to