grapes-nin-grapes: Not In Operator

Description Usage Arguments Source Examples

Description

Provides the compliment to the base R %in% operator. Included here instead of via import due to stability issues with the source package, Hmsic, during original package development in October, 2017. Used under terms of Hmisc's GPL-3 License.

Usage

1
x %nin% y

Arguments

x

vector or NULL: the values to be matched

y

vector or NULL: the values to be matched against

Source

Hmsic

Examples

1
2
3
4
5
6
7
8
9
x <- 2
y <- 2
z <- 3

x %in% y
x %nin% y

x %in% z
x %nin% z

shaughnessyar/driftR documentation built on June 17, 2018, 8:54 p.m.