dendextend website (built using pkgdown)

Table of contents:


Class “dendrogram” provides general functions for handling tree-like structures in R. It is intended as a replacement for similar functions in hierarchical clustering and classification/regression trees, such that all of these can use the same engine for plotting or cutting trees.

However, many basic features are still missing from the dendrogram class. This package aims at filling in some gaps.

The dendextend package extending R core dendrogram functions.


To install and load dendextend, simply use:

install.packages('dendextend') # stable CRAN version
library("dendextend") # load the package



Also ceck out the dendextend tag in stackoverflow for more examples.

A notable sister package for dendextend is heatmaply for creating interactive cluster heatmaps using R (combining dendextend and plotly).

Getting help

Please post your question to stackoverflow using the tags: dendextend and r.

Submitting bug reports and patches

You are welcome to:

Before reporting bugs, please make sure you’re using the latest version from github:

install.packages.2 <- function (pkg) if (!require(pkg)) install.packages(pkg);

# Having colorspace is also useful, since it is used
# In various examples in the vignettes

Latest news

You can see the most recent changes to the package in the file

Code of conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.