powered by
Draws a dendrogram and an additional bar plot helping to choose the number of groups to be retained (based on the dendrogram).
dendro.gp(dend)
a dendrogram obtained from hclust.
hclust
# NOT RUN { 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