Coerce hclust, hdbscan or reachability objects to dendrogram.
# S3 method for hclust
as.dendrogram(object, ...)# S3 method for hdbscan
as.dendrogram(object, ...)
# S3 method for reachability
as.dendrogram(object, ...)
the object
further arguments
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.