Learn R Programming

RVAideMemoire (version 0.9-83-7)

dendro.gp: Dendrogram and number of groups to be chosen

Description

Draws a dendrogram and an additional bar plot helping to choose the number of groups to be retained (based on the dendrogram).

Usage

dendro.gp(dend)

Arguments

dend

a dendrogram obtained from hclust.

Author

Maxime HERVE <maxime.herve@univ-rennes1.fr>

See Also

Examples

Run this code
data(iris)
distances <- dist(iris[,1:4],method="euclidian")
dendro <- hclust(distances,method="ward.D2")
dendro.gp(dendro)

Run the code above in your browser using DataLab