nin: Return lhs values not in rhs values

Description Usage Arguments Examples

Description

Return lhs values not in rhs values

Usage

1
2
3
nin(lhs, rhs, value = TRUE)

yin(lhs, rhs, value = TRUE)

Arguments

lhs

Values to check whether they are/not contained in the other

rhs

Values to use as the reference

value

Logical indicating whether to return the value or a logical vector

Examples

1
2
3
4
5
## a, b, zz in alphabet letters
yin(c("a", "b", "zz"), letters)

## a, b, zz NOT in alphabet letters
nin(c("a", "b", "zz"), letters)

mkearney/tfse documentation built on July 6, 2019, 3:18 a.m.