[R] How to count the number of different elements in a column

Hard Core gioxc at hotmail.it
Mon Nov 26 15:55:52 CET 2012


this is wrong because with the command "unique" it counts the only values
that are unique ..

in my column, for instance, 1 and 4 are not unique so the formula doesn't
work in my case 



--
View this message in context: http://r.789695.n4.nabble.com/How-to-count-the-number-of-different-elements-in-a-column-tp4650825p4650843.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list