Description Usage Arguments Examples
Base R has the %in% function to create a logical vector whether one object is contained within another object. Why not %ni% to get a logical vector if one object is NOT contained within another? Idea from stackoverflow http://stackoverflow.com/questions/11302985/match-with-negation
1 |
myobject |
a vector |
1 2 | 5 %ni% c(2,4,6)
# TRUE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.