TruncateDendrogram


is an option for DendrogramPlot that specifies the fusion levels at which to truncate the dendrogram.

DetailsDetails

  • To use , you first need to load the Hierarchical Clustering Package using Needs["HierarchicalClustering`"].
  • 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.

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

In[1]:=
Click for copyable input

Dendrogram truncated such that four leaves remain:

In[2]:=
Click for copyable input
Out[2]=
New to Mathematica? Find your learning path »
Have a question? Ask support »