Description Usage Arguments Details Value Examples
tabulate.ff
takes the integer-valued ff vector bin and counts the number of times each integer occurs in it.
1 | tabulate.ff(bin, nbins = max(bin, 1, na.rm = TRUE))
|
bin |
factor to be binned. |
nbins |
number of bins |
Behaviour of tabulate
integer vector or if FFRETURN
is TRUE
a ff
vector
1 2 3 4 5 6 7 8 9 | #create a vector of 10 million
x <- ff(vmode="integer", length=1e7)
# fill first 200 with values
x[1:100] <- 1
x[101:200] <- 2
# lets count
tabulate.ff(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.