Description Usage Arguments Value Examples
Uses kmeans
and then renames the clusters so that they are arranged in the increasing order of means
1 |
x |
vector of 1D data |
centers |
number of clusters |
... |
other arguments passed to |
a list returned by kmeans
with clusters arranged in the order of their means in the following list elements: cluster, withinss, size, centers
.
Additional elements are also addded to the list: frac
is the cluster size as a fraction of the total, cluster_sd
is the standard deviations of clusters and centers_se
is the standard error of the cluster centers.
1 | #
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.