powered by
Indicate if elements of a vector are not in another vector.
notIn(x, table)x %notin% table
x %notin% table
A logical vector.
Vectors.
x <- c('a', 'v', 'o', 'C', 'a', 'd', 'O') y <- letters y %notin% x x %notin% y
Run the code above in your browser using DataLab