executeBinning {aglm} | R Documentation |
Binning the data to given bins.
Description
Binning the data to given bins.
Usage
executeBinning(x_vec, breaks = NULL, nbin.max = 100, method = "freq")
Arguments
x_vec |
The data to be binned. |
breaks |
A numeric vector representing breaks of bins (If |
nbin.max |
The maximum number of bins (used only if |
method |
|
Value
A list with the following fields:
-
labels
: An integer vector with same length asx_vec
, wherelabels[i]==k
means the i-th element ofx_vec
is in the k-th bin. -
breaks
: Breaks of bins used for binning.
Author(s)
Kenji Kondo
[Package aglm version 0.4.0 Index]