Displaying 1 result from an estimated 1 matches for "clust3".
Did you mean:
clust
2006 Mar 27
2
Clustering question \ dist(datmat)
...ion how to make "hclust" process my distance matrix, what i am doing wrong. I am sure the problem is with the distance matrix format, Any suggestions are highly apprciated, the code below shows what i have done.
clust1<- as.vector(rvm(5,5,15))
clust2<- as.vector(rvm(5,10,15))
clust3<- as.vector(rvm(5,15,15))
clust4<- as.vector(rvm(5,20,15))
clust5<- as.vector(rvm(5,25,15))
data1<- rbind(clust1,clust2,clust3,clust4,clust5)
datmat<- matrix(data1,nrow=25,ncol=1,byrow=TRUE)
circ.plot(datmat)
df<- array(dim=c(25,25))
for (i in 1:25){
for (j in 1:25)...