Sarah,

.       clust_tree=hclust(as.dist(x),method="complete")
.       plot(clust_tree)

this produces a dendrogram, whereas 
.       clust_tree=hclust(as.dist(x),method="complete")
.        cut = cutree(clust_tree,k=1:5)
.        plot(cut)

produces a plot with 2 dots. The dissimilarity matrix x is 100*100 matrix.

Thanks for any feedback. Also, I am looking at various methods to retrieve
the sub-trees. Any tips on such techniques would be helpful to me.

 

--
View this message in context: 
http://r.789695.n4.nabble.com/hclust-and-plot-functions-work-cutree-does-not-tp4515010p4528282.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to