HIERARCHICAL CLUSTERING 程序包 符号

LeafLabels


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

更多信息更多信息

  • To use , you first need to load the Hierarchical Clustering Package using .
  • For an input list, possible settings for 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 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 .
  • For a truncated dendrogram, a boxed number is substituted for the label indicating the size of the truncated cluster.

范例范例打开所有单元关闭所有单元

基本范例 (1)基本范例 (1)

In[1]:=
Click for copyable input

Dendrogram labeling leaves with the associated data elements:

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