ini_kmeans: Run a k-means algorithm to initialise clusters' allocation
Description
Run a k-means algorithm to initialise clusters' allocation
Usage
ini_kmeans(data, k, nstart = 50, summary = FALSE)
Value
A tibble containing the initial clustering obtained through kmeans.
Arguments
- 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