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

Terry Mu muster at gmail.com
Wed Mar 30 02:21:33 CEST 2005


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

Is there something like:

is.subset(x, y) == T

Thank you,




More information about the R-help mailing list