%nin% {bazar}R Documentation

Value matching

Description

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

Usage

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:10 %nin% c(1,3,5,9)


[Package bazar version 1.0.11 Index]