This help topic is for R version 0.60. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/base/html/tabulate.html
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)

[Package base version 0.60 ]