Learn R Programming

dbscan (version 1.1-9)

dendrogram: Coersions to Dendrogram

Description

Coerce hclust, hdbscan or reachability objects to dendrogram.

Usage

# S3 method for hclust
as.dendrogram(object, ...)

# S3 method for hdbscan as.dendrogram(object, ...)

# S3 method for reachability as.dendrogram(object, ...)

Arguments

object

the object

...

further arguments

Details

The coersion from hclust is a faster reimplementation of stats::as.dendrogram().

The coersion from hdbscan builds the non-simplified HDBSCAN hierarchy as a dendrogram object.