.perform_kemans_cluster | R Documentation |
Perform k-means clustering
.perform_kemans_cluster(data, km)
data |
a dataframe. First column will be used as row identifier. Therefore, values in the first column must be unique. |
km |
an integer denoting number of clusters to return. |
a dataframe with two columns -1) 1st column from data
and 2) clusters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.