%in%
Matching operator
x %ni% y
x
vector
y
vector of same type as x
A logical vector.
Klaus K. Holst
match
1:10 %ni% c(1,5,10)