pltree.twins: Clustering Tree of a Hierarchical Clustering
Description
Draws a clustering tree (dendrogramm) of a twins
object, i.e.,
hierarchical clustering, typically resulting from agnes
or
diana
.Usage
pltree.twins(x, main = paste("Dendrogram of ", deparse(call)), ...)
Arguments
x
an object of class "twins"
, typically created by either
agnes()
or diana()
. ...
Graphical parameters (see par
) may also
be supplied as arguments to this function. Value
- a NULL value is returned.
Details
Creates a plot of a clustering tree given a twins
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.