[R] displaying pruned clusters
Grum, Mikkel [IPGRI-SSA-Nairobi]
m.grum at cgiar.org
Mon Aug 18 11:37:11 CEST 2003
Any idea why clusters five and six fall off the scale in the following?
library(cluster)
library(maptree)
data(flower)
dfl2<-daisy(flower,type=list(asymm=c(1,3),ordratio=7))
hdfl2<-hclust(dfl2)
prune.dfl2<-prune.clust(hdfl2,k=6)
plot(prune.dfl2)
Of course the following will display all six clusters, but without a scale:
draw.tree(prune.dfl2)
Best wishes,
Mikkel
Mikkel Grum
International Plant Genetic Resources Institute (IPGRI)
Sub-Saharan Africa Group
***
PO Box 30677
00100 Nairobi, Kenya
Tel: +254 20 524505(direct)/524500(IPGRI)
Fax: +254 20 524501(IPGRI)/524001(ICRAF)
m.grum at cgiar.org
www.ipgri.org
More information about the R-help
mailing list