Description Usage Arguments Value
This function calculates bin separators either using R's native binning approaches available in the classInt library such as 'kmeans', 'jenks', 'pretty' etc. Alternatively, a custom approach is available which is based on finding the nadirs in the density functions for the independent variable. Default approach is k-means clustering.
1 2 3 4 5 6 7 |
dat |
data frame |
type |
auto-binning type: "density", "time", or "data" |
n_bins |
number of bins to use; either a positive integer or "auto". For "density" the function might not return a solution with the exact number of bins. |
verbose |
show warnings and other messages (TRUE or FALSE) |
... |
arguments passed on to underlying binning functions |
A vector of bin separators
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.