[R] extracting variables with patttern templates
Rishabh Gupta
rg117 at ohm.york.ac.uk
Tue Oct 22 19:05:48 CEST 2002
Hi all,
I was wondering, does R have a facility to extract datasets based on a string template. I know that you can do something like:
X["a"] # extract from 'X' the dataset named 'a'.
What I would like is something which says, from 'X' extract all the datasets that have an 'a':
X[pat = "a"]
I know that the 'pat' option can be used when just listing all the object that exist, but is there any way to extract only certain
dataset from within an object using a smiliar technique.
Any help would be greatly appreciated.
Many Thanks!
Rishabh
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list