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

From: Terry Mu <muster_at_gmail.com>
Date: Wed 30 Mar 2005 - 10:21:33 EST


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

Is there something like:

is.subset(x, y) == T

Thank you,



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Mar 30 10:33:28 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:57 EST