[R] counts of a vector

speretti sabrina.peretti at gmail.com
Wed May 26 19:22:18 CEST 2010


I need help to find an efficient way to transform a vector like:


in a vector that counts only di 1 elements, like:


Thank you!
View this message in context: http://r.789695.n4.nabble.com/counts-of-a-vector-tp2232047p2232047.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list