Hi, To compare two dendrogamas, you can use a measure of correlation between the cophenetic matrices. Example:
mdist <- dist(iris[,-5], method="euclidean") # dendrogram from cluster 1 (single-linkage) hc1 <- hclust(mdist, method="single") plot(hc1) # dendrogram from cluster 2 (complete-linkage) hc2 <- hclust(mdist, method="complete") plot(hc2) # correlation cor(cophenetic(hc1),cophenetic(hc2)) For a confidence level, use the "Mantel Test" from package vegan. mantel(cophenetic(hc1), cophenetic(hc2)) Good Look. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.