grapes-not-in-grapes: Shorthand for the opposite of in written in a more intuitive...

Description Usage Arguments Value Examples

Description

Shorthand for the opposite of in written in a more intuitive format. Returns true if the item is not in what it is being compared to, and false if it is in it.

Usage

1
... %!in% NA

Arguments

data

any data type

Value

logical

Examples

1
2
2 %!in% c(1,3)
"b" %!in% c("a","c")

SamA-DS/Rbduk documentation built on May 1, 2021, 5:29 a.m.