View source: R/utils_clustering.R
compute_clusters | R Documentation |
Compute clusters hierarchically from distance matrix
compute_clusters(dmat, linkage_method)
dmat |
a distance matrix |
linkage_method |
a linkage method supported by |
clusters computed by fastcluster::hclust()
dmat <- compute_dmat(iris, "euclidean", TRUE, c("Petal.Length", "Sepal.Length"))
res <- compute_clusters(dmat, "complete")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.