Negation of in (character)

x %notchin% y

Arguments

x

Values to be matched.

y

Values to be matched against.

Details

If y is NULL, then x is TRUE for consistency with %in%. If x and y are not both character, the function simply falls back to %in% rather than erroring.