Description Usage Arguments Details Value Examples
Provides a "not in" like in Python by negating %in%
.
1 | a %!in% b
|
a |
The values to be matched. |
b |
The values to be matched against. |
In my opinion this is prettier and more readable than using !x %in%
y
. By the way, this notation works without parentheses because %in%
takes precedence before !
, see Syntax.
The negated output of %in%
.
1 | 42 %!in% 1:10 # TRUE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.