%notin% | R Documentation |
%in%
.The opposite of %in%
.
x %notin% vector
x |
Numeric or character vector. |
vector |
Numeric or character vector. |
A vector of TRUE
or FALSE
.
%in%
data = data.table(ID=1:10, X=sample(1:10, 10))
data
data[ID %notin% c(1, 3, 5, 7, 9)]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.