Description Usage Arguments Value Author(s)
Create bins (equal frequency binning)
1 | 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.