%nin% is the complement to %in%. It looks which values
in x
do not match (hence, are not in)
values in y
.
x %nin% y
Vector with values to be matched.
Vector with values to be matched against.
A logical vector, indicating if a match was not located for each element
of x
, thus the values are TRUE
or FALSE
and
never NA
.
See 'Details' in match
.