Displaying 1 result from an estimated 1 matches for "hc_c".
Did you mean:
ac_c
2009 Dec 10
1
question about centroid-linkage (cluster analysis)
...d that the last clusters to be joined will be
{1,2,3,4} with {5,6}. Now, the centroid for the first cluster has coordinates (0,0),
while the centroid for the second cluster has coordinates (11,0). Therefore, the
distance between these two cluster should be 11. But:
> Y.dist <- dist(Y)
> Y.hc_c <- hclust(Y.dist,method="centroid")
> Y.hc_c$merge
[,1] [,2]
[1,] -1 -2
[2,] -3 1
[3,] -4 2
[4,] -5 -6
[5,] 3 4
> Y.hc_c$height
[1] 2.000000 1.914214 1.517428 2.000000 9.692575
So, from this it would appear that the distance between the last two clu...