View source: R/kmeans.R View source: R/cluster_performance.R
get_mean_clusters | R Documentation |
Fit Kmeans on globs
get_mean_clusters(data, fit_name, n_clust, iter, n_start, seed = NULL)
data |
Dataframe of 2-d space to fit on. |
fit_name |
Name of kmeans fit |
n_clust |
An integer number of clusters to fit. |
iter |
An integer number of max iterations for the kmeans algorithm to converge to. |
n_start |
An integer number of max iterations for the kmeans algorithm to converge to |
seed |
Random seed to use to make the results reproducible. |
Dataframe of covariates, predictions, and title of fit.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.