grapes-nin-grapes: Value matching

Description Usage Arguments Value See Also Examples

Description

The function %nin% is the negation of the function %in%.

Usage

1
x %nin% table

Arguments

x

vector or NULL: the values to be matched.

table

vector or NULL: the values to be matched against.

Value

A logical vector, indicating if a non-match was located for each element of x: thus the values are TRUE or FALSE and never NA.

See Also

match.

Examples

1
1:10 %nin% c(1,3,5,9)

bazar documentation built on May 2, 2019, 7:02 a.m.