[R] Plotting hclust with lot of objects
kottha@zhr.tu-dresden.de
kottha at zhr.tu-dresden.de
Tue Jan 25 19:06:17 CET 2005
Hi!
I am newbee to R and I am facing the problem in plotting
the dedrogram with lot of objects. The lines and labels are overlapped very
badly, and writing the graphic to postscript and zooming there is not helping
either. I tried cut.dendrogram method, but getting the error that it doesn't
exist even though I get the man pages for it.
I would not find any solution in web as well, and I would be grateful to you
if you would share your thoughts or solutions with me.
Here is my code:
A <- read.table("temp.csv", sep =",", header =TRUE, row.names = 1)
hc <- hclust(dist(A),method='single')
plot(as.dendrogram(hc), horiz=TRUE, cex=0.2)
memb <- cut.dendrogram(as.dendrogram(hc), 4)
Error: couldn't find function "cut.dendrogram"
Thanks allot,
Samatha
_______________________________________________________________
Samatha Kottha
Center for High Performance computing TeL: (+49) 351 4633 1945
Technical University Dresden
Willers-bau A106
Zellescher Weg 12
D-01069 Dresden
Germany
More information about the R-help
mailing list