Description Usage Arguments Details Value See Also
This function provides a generic mechanism to extract relevant plotting data, typically line segments and labels, from a variety of cluster models.
1 | cluster_data(model, ...)
|
model |
object of type hclust, dendrogram, tree or kmeans |
... |
ignored |
In the case of dendrograms and tree models, the function will extract line segment data and labels.
In the case of kmeans or Mclust models, the function extracts the cluster allocation.
a list of data frames that contain the data appropriate to each cluster model
There are several implementations for specific cluster algorithms:
cluster_data.hclust
cluster_data.dendrogram
cluster_data.tree
cluster_data.kmeans
cluster_data.Mclust
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.