notin: Not in

Description Usage Arguments Value Examples

Description

Logical operator opposite of %in%

Usage

1
notin(x, y)

Arguments

x

vector or NULL: the values to be matched.

y

vector or NULL: the values to be matched against.

Value

logical vector of length x

Examples

1
2
3
## Example not run
#1:5 %in% c(2,4)
#1:5 %!in% c(2,4)

drknexus/repsych documentation built on May 15, 2019, 2:19 p.m.