is_in {msgr} | R Documentation |
Checks whether all elements of one variable are in another
Description
Checks whether all elements of one variable are in another
Usage
is_in(x, y)
Arguments
x |
(any) The object with elements to test |
y |
(any) The object with elements to test against |
Value
TRUE if all elements in x are in y, FALSE otherwise
Examples
is_in("a", letters)
is_in(c("a", "b", "c"), letters)
is_in(1, LETTERS)
is_in(1:2, LETTERS)
[Package msgr version 1.1.2 Index]