%notin% {MCOE} | R Documentation |
MCOE The inverse of _in_ where the list is excluded
x %notin% table
x |
Item or list to look at |
table |
List to make sure it is not part of |
'
fruit <- c("apple", "banana", "pear", "pineapple")
"kiwi" %notin% fruit