createEqualFreqBins {aglm} | R Documentation |
Create bins (equal frequency binning)
createEqualFreqBins(x_vec, nbin.max)
x_vec |
A numeric vector, whose quantiles are used as breaks. |
nbin.max |
The maximum number of bins. |
A numeric vector representing breaks obtained by binning.
Note that the number of bins is equal to min(nbin.max, length(x_vec))
.
Kenji Kondo