k_means | R Documentation |
k_means()
defines a model that fits clusters based on distances to a number
of centers.
k_means(mode = "partition", engine = "stats", k = NULL)
mode |
A single character string for the type of model. The only possible value for this model is "partition". |
engine |
A single character string specifying what computational engine
to use for fitting. Possible engines are listed below. The default for this
model is |
k |
Positive integer, number of clusters in model. |
# show_engines("k_means") k_means()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.