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

chuck.01 CharlieTheBrown77 at gmail.com
Mon Nov 26 16:29:15 CET 2012


My apologies.
I still do not understand the difference; good luck. 


Hard Core wrote
> 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-tp4650825p4650848.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list