Description Usage Arguments Value Examples
R lacks a negation of the %in% operator. While you can negate the whole expression, that solution results in less readable and clear code.
1 | x %notin% table
|
x |
Vector. The values to be matched |
table |
Vector. The values to be matched against. |
A logical vector of same length as x
. TRUE
means the respective
value was found in table
.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.