[R] Similarity between clusters generated by hclust + cutree

Corrado ct529 at york.ac.uk
Wed Feb 25 16:49:40 CET 2009


Dear friends

I have clustered some objects using the hclust algorithm, with method ward. I 
then cutree with 48 classes. 

distPredTurn<-as.dist(resultMatrix)
hctr<-hclust(distPredTurn,"ward")
cutree(hctr,k=NC)

I would like to estimate the similarity between each pair of the 48 clusters, 
for example as (1-distance or dissimilarity) between the centroids.

Any clue on how I can do that?

Regards
-- 
Corrado Topi

Global Climate Change & Biodiversity Indicators
Area 18,Department of Biology
University of York, York, YO10 5YW, UK
Phone: + 44 (0) 1904 328645, E-mail: ct529 at york.ac.uk




More information about the R-help mailing list