Description Usage Arguments Value Examples
k-means clustering
1 | kmeans_cluster(data, centers, max_iter = 100)
|
data |
- The data object (data frame or matrix) that k-means clustering will be applied to. |
centers |
- The matrix containing the initial centers as computed by kmeans_init. |
- The data object (as a data frame) with a column containing cluster assignments.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.