tabulate(bin, nbin=max(bin))
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.factor
, table
.tabulate(c(2,3,5)) tabulate(c(2,3,5), nb = 10)