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)

russmisc documentation built on May 2, 2019, 4:44 p.m.