%ni% returns a logical vector indicating if there is a non-match or match for its left operand

x %ni% table

Arguments

x

vector or NULL, values to be matched

table

vector or NULL, values to be matched against

Value

Logical, TRUE when x %in% table is FALSE

See also

Examples

6 %ni% 1:5
#> [1] TRUE