compute_clusters: Compute clusters hierarchically from distance matrix

View source: R/utils_clustering.R

compute_clustersR Documentation

Compute clusters hierarchically from distance matrix

Description

Compute clusters hierarchically from distance matrix

Usage

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")

visxhclust documentation built on March 31, 2023, 7:30 p.m.