%out%
is an inverted version of the infix %in%
operator.
x %out% table
vector: the values to be matched. Long vectors are supported.
vector or NULL
: the values to be matched against.
logical; if x
is not present in table
%out%
is currently defined as
"%out%" <- function(x, table) match(x, table, nomatch = 0) == 0
c("A", "B", "3") %out% LETTERS
#> [1] FALSE FALSE TRUE