is.subset {rje} | R Documentation |
Determines whether one vector contains all the elements of another.
is.subset(x, y)
x |
vector. |
y |
vector. |
Determines whether or not every element of x
is also found in
y
. Returns TRUE
if so, and FALSE
if not.
A logical of length 1.
Robin Evans
is.subset(1:2, 1:3) is.subset(1:2, 2:3)