hierarchical
object.
pltree.hierarchical(x, ...)
"hierarchical"
, created by the functions
agnes
or
diana
.
Graphical parameters may also be supplied as arguments to
this function (see
).
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.
pltree(agnes(votes.repub)) pltree(diana(votes.repub))