Skip to content
Prev 66712 / 398525 Next

Is there a convenient function that can check if a vector is a subset of another one?

x <- 2:5
y <- 1:10

Is there something like:

is.subset(x, y) == T

Thank you,