Description Usage Arguments Value
binned_sum
implements fast tabulating for given bins by calling c-code.
It also returns the number of NA's per bin.
Please note that incorrect use of this function may crash your R-session.
the values of bins
must be between 1
and nbins
and may not contain NA
.
The values of x
must be between 1
and nlevels
.
1 2 3 4 5 6 7 | binned_tabulate(x, bin, nbins = max(bin), nlevels = nlevels(x), ...)
## Default S3 method:
binned_tabulate(x, bin, nbins = max(bin), nlevels = nlevels(x), ...)
## S3 method for class 'ff'
binned_tabulate(x, bin, nbins = max(bin), nlevels = nlevels(x), ...)
|
x |
|
bin |
|
nbins |
|
nlevels |
|
... |
used by binned_tabulate.ff |
numeric
matrix where each row is a bin and each column a level
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.