R/utils_clustering.R
compute_clusters.Rd
Compute clusters hierarchically from distance matrix
compute_clusters(dmat, linkage_method)
a distance matrix
a linkage method supported by fastcluster::hclust()
clusters computed by fastcluster::hclust()
dmat <- compute_dmat(iris, "euclidean", TRUE, c("Petal.Length", "Sepal.Length"))
res <- compute_clusters(dmat, "complete")