Tabulation for Vectors

Usage

tabulate(bin, nbin=max(bin))

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.

See Also

factor, table.

Examples



tabulate(c(2,3,5))
tabulate(c(2,3,3,5), nb = 10)

tabulate(c(2,3,5))
tabulate(c(2,3,3,5), nb = 10)


[Package Contents]