Re: [R] clustering, don't understand this error

2009-04-16 Thread Christian Hennig
Hi there, I'm travelling right now so I can't really check this but it seems that the problem is that cluster.stats needs a partition as input. hclust doesn't give you a partition but you can generate one from it using cutree. BTW, rather use "<-" than "=". Best wishes, Christian On Wed, 1

[R] clustering, don't understand this error

2009-04-15 Thread Ana M Aparicio Carrasco
Hello, I am using the dunn metric, but something is wrong and I dont understand what or what that this error mean. Please can you help me with this? The instructions are: #Indice de Dunn disbupa=dist(bupa[,1:6]) a=hclust(disbupa) cluster.stats(disbupa,a,bupa[,7])$dunn And the error is: Erro