Description Usage Arguments Details See Also
Cuts the data set x into roughly equal groups using quantiles.
1 | bins.quantiles(x, target.bins, max.breaks, verbose = FALSE)
|
x |
A numeric vector to be cut in bins. |
target.bins |
Target number of bins, which may not be reached if the number of unique values is smaller than the specified value. |
max.breaks |
Maximum number of quantiles; must be at least as
large as |
verbose |
Indicates verbose output. |
Because the number of unique values may be smaller than target.bins, the function gradually increases the number of quantiles up to max.breaks or until the target.bins number of bins is reached.
binr
, bins
, bins.greedy
, bins.optimize
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.