Sergio Gómez   
Departament d'Enginyeria Informàtica i Matemàtiques
Universitat Rovira i Virgili


Extended Agglomerative Hierarchical Clustering in R




R package mdendro enables the calculation of agglomerative hierarchical clustering (AHC), extending the standard functionalities in several ways:

All this functionality is obtained with two functions: linkage, and descplot. Function linkage may be considered as a replacement for functions hclust (in package stats) and agnes (in package cluster). To enhance usability and interoperability, the linkage class includes several methods for plotting, summarizing information, and class conversion.


[1] Solving Non-uniqueness in Agglomerative Hierarchical Clustering Using Multidendrograms
Alberto Fernández and Sergio Gómez
Journal of Classification 25 (2008) 43-65
(view) (pdf) (doi) (Springer Nature)
[2] Versatile linkage: a family of space-conserving strategies for agglomerative hierarchical clustering
Alberto Fernández and Sergio Gómez
Journal of Classification 37 (2020) 584-597
(view) (pdf) (doi) (Springer Nature)


Alberto Fernández:

Sergio Gómez:


To use mdendro, check first the documentation at GitHub:

Alternatively, you may use MultiDendrograms, an application with graphical user interface, or the Hierarchical_Clustering program in Radatools.