[R] hierarchical clustering

"Julia Kröpfl" jkroepfl at gmx.net
Fri Nov 30 11:21:56 CET 2007


hi there!

i am searching for a possibility to plot the cluster fusion number against the distance in hierarchical clustering. i used the following code:

distances = dist(my data[, c(1:11)],
method="euclidean")
eward = hclust(distances, method="ward")

plot(eward, labels=my data[, 12], hang=0,cex=0.7,
main="Euclidean/Ward",
   ylab="Distance", xlab="AIN", sub =" ")

can anyone help??

regards,
julia


-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten



More information about the R-help mailing list