nin: Return lhs values not in rhs values

Description Usage Arguments Examples

View source: R/in.R

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)

tfse documentation built on May 2, 2019, 11:28 a.m.

Related to nin in tfse...