%in%
R/bruceR_utils.R
grapes-anyin-grapes.Rd
A simple extension of %in%.
x %anyin% vector
Numeric or character vector.
TRUE or FALSE.
TRUE
FALSE
%in%, %allin%, %nonein%, %partin%
%allin%
%nonein%
%partin%
3:4 %anyin% 1:3 # TRUE #> [1] TRUE 4:5 %anyin% 1:3 # FALSE #> [1] FALSE