Compute clusters hierarchically from distance matrix

compute_clusters(dmat, linkage_method)

Arguments

dmat

a distance matrix

linkage_method

a linkage method supported by fastcluster::hclust()

Value

clusters computed by fastcluster::hclust()

Examples

dmat <- compute_dmat(iris, "euclidean", TRUE, c("Petal.Length", "Sepal.Length"))
res <- compute_clusters(dmat, "complete")