Can I extract result row of table()?
Terry Mu wrote:
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.
as.vector() removes the attributes, if that is your question. Uwe Ligges
Thanks.
______________________________________________ R-help at 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