Compute the centroids for a given clustering
1 | get_centroid_data(x, k, use_median = FALSE)
|
x |
object obtained from |
k |
number of clusters to use |
use_median |
should median be used instead of mean to compute the centroid? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.