On 3 Aug 2013, at 16:47, beginner wrote:
> d <- dist(as.matrix(data[,29])) # find distance matrix
> hc <- hclust(d)# apply hirarchical clustering
> plot(hc,labels=data[,1], main="", xlab="") # plot the dendrogram
You haven't given a reproducible example (data is undefined), s
Hi,
You'll find a usefull post here :
http://gastonsanchez.wordpress.com/2012/10/03/7-ways-to-plot-dendrograms-in-r/
For my part, I use the last method (A2R) to plot trees like the figure you
posted.
HTH,
Robin
2013/8/3 beginner
> Hi
>
> I would like to create a dendrogram in R which has co
2 matches
Mail list logo