[R] R function similar to UNIX "uniq -c"?

Uwe Ligges ligges at statistik.uni-dortmund.de
Thu Dec 19 18:07:03 CET 2002


Hilmar M. Carders wrote:
> Is there an R function that gives the equivalent of the UNIX command 
> "uniq -c" which could be applied to a vector with duplicate values?

See ?table.

Uwe Ligges




More information about the R-help mailing list