Convenience not-in operator
Complement of the built-in operator
%in%. Returns the elements of
x that are not in
x %nin% y
vector of items
vector of all values
logical vecotor of items in x not in y
1 2 3
fruit <- c("apples", "oranges", "banana") "apples" %nin% fruit "pears" %nin% fruit
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.