[R] "logical indexing, " [was] match() question or needle haystack problem for a data.frame

Knut Krueger rhe|p @end|ng |rom krueger-|@m||y@de
Fri Oct 26 08:28:34 CEST 2018


Am 25.10.18 um 16:13 schrieb peter dalgaard:
> 
>
> Yes: x[!(x$A %in% y$B),]

Ok thats in my opinion a little workaround
why?:

There is an
= and !=
< and >


means the opposite is available between terms.

why is there f.e no %!in%, %notin%  or !%in%

This would be more intuitive.

Kind regards Knut




More information about the R-help mailing list