Hierarchical Clustering Package >

TruncateDendrogram


is an option for DendrogramPlot that specifies the fusion levels at which to truncate the dendrogram.
  • Valid settings are All, positive integers or a list of two positive integers. The integers should be no larger than the number of clusters. With the default setting All, no truncation is performed.
  • The setting TruncateDendrogram->n truncates clusters with the smallest fusion levels so that n leaves remain.
  • The setting will display only the m through n fusion levels.
Dendrogram truncated such that four leaves remain:
Needs["HierarchicalClustering`"]
Dendrogram truncated such that four leaves remain:
In[2]:=
Click for copyable input
Out[2]=
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF