%in%

R/operators.R

op_match.Rd

Matching operator

x %ni% y

vector

vector of same type as x

x

A logical vector.

match

Klaus K. Holst

1:10 %ni% c(1,5,10) #> [1] FALSE TRUE TRUE TRUE FALSE TRUE TRUE TRUE TRUE FALSE