Description Usage Arguments Value See Also Examples
Create kmeans breaks.
1 | create_kmeansbreaks(x, control = NULL)
|
x |
X is a numeric vector to be discretized |
control |
Control is used for optional parameters for the method |
A vector containing the breaks
1 2 | kmeans_breaks <- create_breaks(1:10)
create_bins(1:10, kmeans_breaks)
|
[1] 1 1 1 1 2 2 2 3 3 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.