[R] Subset function

stat.kk stat.kk at gmail.com
Fri Sep 9 14:56:34 CEST 2011


No :(
I dont have a condition on variable but on row name. My data frame looks
like (from your example):
> x
             xin     xout
Peter        1       14
Tom         8         5
Jane       16      884
Paul         1        14
Cathy       8         5                                                                    
Fred       16      884 

I would like to subset xout for Jane and Paul for example.

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



More information about the R-help mailing list