[R] counting the number of elements in a column

From: kayj <kjaja27_at_yahoo.com>
Date: Mon, 17 Nov 2008 21:50:56 -0800 (PST)

Hi All,

I have a column that contains values between 0 and 1. I would like to make a table that consists of the number of elements in each category.

For example , how many elements have values between 0 and 0.1, 0.1 to 0.2, 0.2 to 0.3,etc……..0.9 to 1.

Is there an easy way to do this?


View this message in context: http://www.nabble.com/counting-the-number-of-elements-in-a-column-tp20553994p20553994.html
Sent from the R help mailing list archive at Nabble.com.

R-help_at_r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Tue 18 Nov 2008 - 06:17:52 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 19 Nov 2008 - 05:30:26 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive