grapes-nin-grapes: Not In Operator

%nin%R Documentation

Not In Operator

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

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

x <- 2
y <- 2
z <- 3

x %in% y
x %nin% y

x %in% z
x %nin% z


shaughnessyar/driftR documentation built on July 25, 2022, 8:32 a.m.