%ni% | R Documentation |
'%ni%' identifies which element in x is NOT in y
x %ni% y
x |
a vector of elements which can be numeric or character |
y |
a vector of elements which can be numeric or character |
x <- 1:10
y <- 6:18
x %ni% y
pick <- (x %ni% y)
x[pick]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.