[R] subset

yf chang648 at umn.edu
Thu Jun 23 19:47:13 CEST 2011


Dear all,

How can I do the subset fucntion from the table? I want to do the subset for
the less than 50. 
I tried b8a<-subset(b8, (table(g$book)<50)==TRUE) but it didn't work.
Thanks.  

table(g$ book )

119 121 134 160 161 170 175 179 190 193 225 226 256 260 
130  89  50  87    74  23  85    47  93  64  16    69  48   38     



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



More information about the R-help mailing list