Displaying 1 result from an estimated 1 matches for "var_dendro".
2010 May 25
1
Hierarchical clustering using own distance matrices
...but the distances in the
dendrogram i got by using the following script(1) were not the distances
defined in my distance matrices.
script:
var<-read.table("the distance matrix i calculated", header=TRUE, sep=" ")
var_HC<-hclust(as.dist(var),method="average")
var_dendro<-as.dendrogram(var_HC)
plot(var_dendro,ylim=c(0,5), nodePar =list(lab.cex = 0.3), header=title(" My
Distance Matrix"))
I did some research and found that the hclust function (from the hclust help
page):
"...Initially, each object is assigned to its own cluster and then the
al...