hist.hclust: Histogram with hierarchical cluster breaks

View source: R/mining.R

hist.hclustR Documentation

Histogram with hierarchical cluster breaks

Description

A representation of a one-dimensional hierarchical clustering

Usage

## S3 method for class 'hclust'
hist(hc, x, k = 2:5)

Arguments

x

the numerical vector that was clustered to produce h

k

a vector of the cluster cardinalities to plot

h

an hclust object

Value

A histogram of x is shown with blue lines cutting the x-axis. The tallest lines correspond to divisions made at the top of the hierarchy. By reading top to bottom, you can see how each cluster is subdivided. This can be far more illuminating than a plot of the hierarchy as a tree.

Author(s)

Tom Minka

See Also

boxplot.hclust, ward, break_ward


paulemms/datamining documentation built on March 1, 2023, 4:01 p.m.