grapes-nin-grapes: Value Negating

Description Usage Arguments Examples

Description

indicating if there is a mismatch (TRUE) or a match (FALSE). In other words, it returns TRUE for the values in the first vector but not in the second.

Usage

1
... %nin% NA

Arguments

x

vector or NULL: the values to be matched.

y

vector or NULL: the values to be matched against.

Examples

1
2
3
4
x = 1:6
y = 4:10
x %nin% y # which values of x are not in y?
# TRUE  TRUE  TRUE FALSE FALSE FALSE

bouzidnm/tinker documentation built on May 25, 2019, 11:31 p.m.