meta_clust.cluster_result | R Documentation |
The meta_clust function performs meta clustering on a given clustering result by applying hierarchical clustering or other clustering algorithms.
## S3 method for class 'cluster_result'
meta_clust(
x,
cuts = min(as.integer(length(x$centers)/2), 2),
algo = "hclust",
hclust_method = "ward.D"
)
x |
A clustering result, typically an object of class |
cuts |
The number of cluster cuts to consider. Default is the minimum of half the number of centers and 2. |
algo |
A character string indicating the clustering algorithm to use. Default is "hclust" (hierarchical clustering). |
hclust_method |
A character string specifying the agglomeration method to use for hierarchical clustering. Default is "ward.D". |
A list containing:
cvols |
A list of |
cuts |
The number of cluster cuts. |
cutmat |
A matrix representing the cluster assignments for each cut. |
hclus |
The hierarchical clustering result. |
hclust
, cutree
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.