View source: R/unsupervised-clustering.R
| augment_kmeans | R Documentation |
Augment Data with K-Means Cluster Assignments
augment_kmeans(kmeans_obj, data)
kmeans_obj |
A tidy_kmeans object |
data |
Original data frame |
Original data with cluster column added
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.