Thanks to all who responded so quickly, table() is exactly what I was looking for. On Thu, 19 Dec 2002, Uwe Ligges wrote: > 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 >