View source: R/initialisation.R
ini_kmeans | R Documentation |
Run a k-means algorithm to initialise clusters' allocation
ini_kmeans(data, k, nstart = 50, summary = FALSE)
data |
A tibble containing common Input and associated Output values to cluster. |
k |
A number of clusters assumed for running the kmeans algorithm. |
nstart |
A number, indicating how many re-starts of kmeans are set. |
summary |
A boolean, indicating whether we want an outcome summary |
A tibble containing the initial clustering obtained through kmeans.
TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.