Skip to content
Back to formatted view

Raw Message

Message-ID: <fe735ed92639.2639fe735ed9@uni-rostock.de>
Date: 2009-05-29T09:28:23Z
From: Jana Buerger
Subject: Displaying cluster numbers in a dendrogram

Hello all,

does anybody know a way do display the result of a cutree comand in a
dendrogram plot of the underlying clustering?

I have a clustering of around 450 plots and used cutree with k=20.
Plotting this followed by  rect.hclust visualises the 20 clusters.
rect.hclust(..., which= ) would be an option to mark a certain cluster
counting the clusters in the dendrogram from left to right.
A table comand of the cluster-vector does obviously have a different
ordering in the cluster numbers than just numbering from left to
right.(which I see from the differing number of plots in the clusters).

Can I somehow link the plot of the dendrogram with the cluster numbers
of the cutree comand? 

I have tried
plot(reorder(as.dendrogram(x),cutree(x,k=20),agglo.FUN=mean)),but that
didn't do either.

Or can I display the cluster numbers in the dendrogram plot?

Thanks for your help

Jana B?rger
Universit?t Rostock
FG Phytomedizin
Satower Stra?e 48
18059 Rostock
Tel. 0381-498 3171