grapes-notin-grapes: The opposite of '%in%'.

Description Usage Arguments Value See Also Examples

Description

The opposite of %in%.

Usage

1
x %notin% vector

Arguments

x

Numeric or character vector.

vector

Numeric or character vector.

Value

A vector of TRUE or FALSE.

See Also

%in%

Examples

1
2
3
data=data.table(ID=1:10, X=sample(1:10, 10))
data
data[ID %notin% c(1, 3, 5, 7, 9)]

bruceR documentation built on June 22, 2021, 1:06 a.m.