Wrong comparisons, I think. The opposite of A & B is !(A & B)
There is no single operator that can replace the "&" in A & B that gives the "opposite" -Don -- Don MacQueen Lawrence Livermore National Laboratory 7000 East Ave., L-627 Livermore, CA 94550 925-423-1062 Lab cell 925-724-7509 On 10/25/18, 11:28 PM, "R-help on behalf of Knut Krueger" <r-help-boun...@r-project.org on behalf of rh...@krueger-family.de> wrote: 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 ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.