%nin% | R Documentation |
Determine the members of one vector that are NOT found in another vector. This is equivalent to
!(x %in% y)
, but is a useful shortcut. Borrowed from Stephen Turner.
x %nin% y
x |
vector to be matched to elements in |
y |
vector to be searched for elements of |
a logical vector with one element for each element in x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.