1
Good morning. Please, I need a script or explanation of how to make a dendograma/cluster from qualitative variables. I saw somewhere that it is possible to do that using the output of ANACOR, but I have no idea what values to take.
1
Good morning. Please, I need a script or explanation of how to make a dendograma/cluster from qualitative variables. I saw somewhere that it is possible to do that using the output of ANACOR, but I have no idea what values to take.
Browser other questions tagged r
You are not signed in. Login or sign up in order to post.
First create a contingency table and then see the
help("hclust")
. Something like this:data(Cars93, package = "MASS"); tabela_cont <- xtabs(~ Type + Origin, Cars93); d <- dist(tabela_cont); hc <- hclust(d); plot(hc)
`– Rui Barradas
Thank you very much Ruby. The example is perfect! Hugs
– Pedro Alexander Velasquez Vasc