Clustering Tree of an Agglomerative or a Divisive Hierarchical Clustering

DESCRIPTION:

Creates a clustering tree of a hierarchical object.

USAGE:

pltree.hierarchical(x, ...) 

REQUIRED ARGUMENTS:

x
an object of class "hierarchical", created by the functions agnes or diana. Graphical parameters may also be supplied as arguments to this function (see ).

VALUE:

a NULL value is returned.

SIDE EFFECTS:

A clustering tree is plotted on the current graphics device.

DETAILS:

Creates a plot of a clustering tree given a hierarchical object. The leaves of the tree are the original observations. In case of an agglomerative clustering, two branches come together at the distance between the two clusters being merged. For a divisive clustering, a branch splits up at the diameter of the cluster being splitted.

SEE ALSO:

, , , , , , , , .

EXAMPLES:

pltree(agnes(votes.repub)) 
pltree(diana(votes.repub))