Inverse operation of match.
x %notin% y
x
vector or NULL
y
"a" %in% letters[1:3] "a" %notin% letters[1:3] 1 %in% 1:3 1 %notin% 1:3