search for: clust2

Displaying 2 results from an estimated 2 matches for "clust2".

Did you mean: clust
2004 May 06
1
question about plot.dendrogram
hi all, i'm trying to plot a dendrogram with labeled leaves >rownames(f)<-v.names >v<-rowMeans(f, na.rm=T) >clust<-hclust(dist(v)) >dend<-as.dendrogram(clust,hang=0.05) >clust2<-cut(dend, h=0.5) >class(clust2$low[[1]]) >[1] "dendrogram" then >plot(clust2$low[[1]],horiz=TRUE,frame=F,type = "tr")) but my leaf labels do not fit entirely in the plot region. Has anyone an idea how to get around this without using cex , something similar to &...
2006 Mar 27
2
Clustering question \ dist(datmat)
...ch i think does not matter. My question 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...