Dendrogram¶
Constructs a dendrogram from the hierarchical clustering of data.
Each element becomes a leaf; clusters are merged bottom-up and every merge is drawn as an elbow connector at the height of the cluster dissimilarity.
Numeric vectors are clustered by Euclidean distance.
Strings are clustered by edit distance.
Leaves can be labeled with element -> label rules, a
{elements} -> {labels} rule, or an association keyed by label.
A second argument sets the orientation of the root: Top (default),
Bottom, Left or Right.
Options¶
DistanceFunction— how to measure the distance between two data elements (e.g.EuclideanDistance,ManhattanDistanceor a pure function).ClusterDissimilarityFunction— the linkage used to measure the dissimilarity between two clusters:"Single","Complete","Average","WeightedAverage","Centroid","Median"or"Ward".ImageSize— overall size in pixels.