HierarchicalClustering`
HierarchicalClustering`

LeafLabels

LeafLabels

is an option for DendrogramPlot that specifies labels for the dendrogram leaves.

Details

  • To use LeafLabels, you first need to load the Hierarchical Clustering Package using Needs["HierarchicalClustering`"].
  • For an input list, possible settings for LeafLabels are None, Automatic, a list of labels equal in length to the number of leaves, or a pure function.
  • For an input cluster c, possible settings for LeafLabels are None or a pure function.
  • With the setting LeafLabels->Automatic, the leaves are labeled according to the data element position.
  • With the setting LeafLabels->f, where f is a pure function, the leaf corresponding to the data element e is labeled with f[e].
  • For a truncated dendrogram, a boxed number is substituted for the label indicating the size of the truncated cluster.

Examples

Basic Examples  (1)

Dendrogram labeling leaves with the associated data elements:

Wolfram Research (2007), LeafLabels, Wolfram Language function, https://reference.wolfram.com/language/HierarchicalClustering/ref/LeafLabels.html.

Text

Wolfram Research (2007), LeafLabels, Wolfram Language function, https://reference.wolfram.com/language/HierarchicalClustering/ref/LeafLabels.html.

BibTeX

@misc{reference.wolfram_2020_leaflabels, author="Wolfram Research", title="{LeafLabels}", year="2007", howpublished="\url{https://reference.wolfram.com/language/HierarchicalClustering/ref/LeafLabels.html}", note=[Accessed: 16-April-2021 ]}

BibLaTeX

@online{reference.wolfram_2020_leaflabels, organization={Wolfram Research}, title={LeafLabels}, year={2007}, url={https://reference.wolfram.com/language/HierarchicalClustering/ref/LeafLabels.html}, note=[Accessed: 16-April-2021 ]}

CMS

Wolfram Language. 2007. "LeafLabels." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/HierarchicalClustering/ref/LeafLabels.html.

APA

Wolfram Language. (2007). LeafLabels. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/HierarchicalClustering/ref/LeafLabels.html