Function to return elements of x that are not in y.
x %notin% y
x
Object 1.
y
Object 2.
Returns the result of !
tmp1 <- c("a","b","c") tmp2 <- c("b", "c", "d") tmp1 %notin% tmp2