sbp_kmeans | R Documentation |
The successive binary partition k-means algorithm.
sbp_kmeans(x, n, iter.final = 0, iter.max = 20, algorithm = "Hartigan-Wong")
x |
A matrix or data frame. Each row corresponds to the each data. |
n |
Number of clusters. |
iter.final |
Number of iteration at the final centroid refinement. |
iter.max |
Number of maximum iteration in each split. |
algorithm |
Gigen to kmeans(). |
List of the clustering result. cluster: a vector indicating the cluster numbers of the samples. centers: a matrix of the centroids size: a vector of the cluster sizes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.