cluster_df | R Documentation |
Re-orders a matrix by hierarchical clustering
cluster_df(
df3,
dist_method = "euclidean",
link_method = "ward.D",
clust.by.row = T
)
df3 |
Numeric 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. |
clust.by.row |
Logical indicating whether to cluster by row, else columnwise. |
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.