Description Usage Arguments Details Examples
Sometimes is nice to have a shortcut.
1 | x %!in% y
|
x |
A vector. |
y |
A vector. |
The infix operator %in%
tests whether elements in one vector
are also found in another vector. To negate this test, users previously needed to wrap
the whole statement in parentheses. This helps to get around this hassle.
1 | v = c("a", "b", "c"); "x" %!in% v
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.