[R] R function to calculate number of data points of each level

RON70 ron_michael70 at yahoo.com
Wed Dec 17 12:36:44 CET 2008


I have a dataframe with two columns :

11600	238'4
12000	218'0
12200	209'0
12600	192'0
13000	176'4
14000	145'0
15000	119'0
16000	103'0
18000	 80'0
19000	 68'3
20000	59'0
11600	208'1
12000	189'2
12200	180'3

There are repeatations in 1st column and I want to use this as Level. Next I
want to report for each level how many data points are there, with
corresponding Level number. Is there any direct R function?
-- 
View this message in context: http://www.nabble.com/R-function-to-calculate-number-of-data-points-of-each-level-tp21051649p21051649.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list