compute_clusters {visxhclust}R 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")

[Package visxhclust version 1.1.0 Index]