[R] hclust and plot functions work, cutree does not
vinod1
vinod.hegde.c at gmail.com
Tue Apr 3 11:41:39 CEST 2012
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.
More information about the R-help
mailing list