[R] Can I extract result row of table()?

From: Terry Mu <muster_at_gmail.com>
Date: Thu 31 Mar 2005 - 16:18:43 EST


> x <- c(5, 5, 8, 8, 8, 27)
> table(x)

x
 5 8 27
 2 3 1

I want a way to use only "2, 3, 1", nomatter table or what other function used. Thanks.



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 Thu Mar 31 16:23:15 2005

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