[R] plot a dendogram
Olivier Martin
olivier.martin at inrialpes.fr
Tue Oct 23 11:27:08 CEST 2001
Hi all,
My problem concerns cluster dendogram.
For example, i obtain :
h<-hclust(mat,method="ward").
I can plot the dendogram with:
plot.hclust(h)
This is my questions:
1- I would like to cut the tree and only display the part for which
h$height is greater than 20 for example.
2- I would like to plot the dendogram for one class. More precisely,
suppose that i
have two classes for my classification
How can i plot the dendograms for my two classes.
I tried to use the tree libarary but with no success.
Could you help me.
Best regards,
Olivier
--
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
Olivier MARTIN
PhD student phone: (33) 04 76 61 53 55
Projet IS2 06 08 67 93 42
INRIA Rhone-Alpes fax : (33) 04 76 61 54 77
655, Av. de l'Europe
Montbonnot e-mail:olivier.martin at inrialpes.fr
38334 Saint Ismier cedex
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://stat.ethz.ch/pipermail/r-help/attachments/20011023/2c70b58b/attachment.html
More information about the R-help
mailing list