Hi,

can anyone help me how to use 'subset' function on my data frame?
I have created data frame 'data' with a few variables and with row names.
Now I would like to subset rows with concrete row names. 
Using data[] I know how to do it. But I dont know how to formulate the
subset condition:
subset(data, subset = ?, select = c(var1, var2))

Thank you very much,
stat.kk

--
View this message in context: 
http://r.789695.n4.nabble.com/Subset-function-tp3801397p3801397.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to