cluster_corrmat | R Documentation |
Re-orders a correlation matrix by hierarchical clustering
cluster_corrmat(mat, dist_method = "euclidean", link_method = "complete")
mat |
Correlation matrix or data frame |
dist_method |
The distance measure to be used. Accepts the same values as method parameter in ?dist. |
link_method |
The agglomeration/clustering method to be used. Accepts the same values as method parameter in ?hclust. |
An ordered matrix based on hierarchical clustering
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.