powered by
Get elements only existed in dataset a.
not(...)a %not% b
a %not% b
one or more objects
one object
the other object
elements only existed in dataset a
# NOT RUN { A <- c("a","b") B <- c("a","b","c","d") not(B, A) E <- c('d') not(B, A, E) A <- c("a","b","c") B <- c("a","b","c","d") B %not% A # }
Run the code above in your browser using DataLab