See base:: for details. %nin% is a binary operator,
returning a logical vector indicating if there is a negative match or not.
Usage
lhs %in% rhsArguments
- lhs
vector or NULL: the values to be matched.
Long vectorsare supported.- rhs
vector or NULL: the values to be matched.
Long vectorsare supported.
See also
Other Utility functions:
capwords(),
named_group_split(),
rm_inf_na(),
subset_fns_Zr(),
subset_fns_yi()
Examples
"A" %nin% LETTERS[1:10]
#> [1] FALSE
"A" %in% LETTERS[1:10]
#> [1] TRUE
