| tabulate {base} | R Documentation | 
Tabulation for Vectors
Description
tabulate takes the integer valued vector bin and counts
the number of times each integer occurs in it.  tabulate is
used as the basis of the table function.
Usage
tabulate(bin, nbin=max(bin))
See Also
factor, table.
Examples
tabulate(c(2,3,5))
tabulate(c(2,3,5), nb = 10)