Matching operator

x %ni% y

Arguments

x

vector

y

vector of same type as x

Value

A logical vector.

See also

Author

Klaus K. Holst

Examples

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