grapes-notin-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
... %notin% NA

Arguments

data

any data type

Value

logical

Examples

1
2
2 %notin% c(1,3)
"b" %notin% c("a","c")

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