.k_means_fit_stats {tidyclust} | R Documentation |
Simple Wrapper around stats kmeans
Description
This wrapper runs stats::kmeans()
and adds a check that centers
is
specified. And reorders the clusters.
Usage
.k_means_fit_stats(data, centers = NULL, ...)
Arguments
centers |
either the number of clusters, say |
... |
Other arguments passed to |
Value
Result from stats::kmeans()
[Package tidyclust version 0.2.4 Index]