[R] HCLUSTER

2014-02-16 Thread Katia Freire
Dear all, I am a beginner in R and I am trying to organize my dendrogram in a better order to vizualize our data better. I am joining months based on the occurrence of spawning of species and would like the plot in order of months: Nov-Dec, Jan-Feb-Mar and then Apr-May-Jun Jul-Aug Sept-Oct Is

Re: [R] hcluster with linkage median

2010-09-28 Thread Kennedy
Thank you Peter for your help. I had tried hclust before but I made the mistake of using the D matrix above instead of a dist object. Hence library(flashClust) d <- as.dist(D) # Clustering using hclust hc <- hclust(d, method = "median",members=NULL) # Clustering using flashClust fc

Re: [R] hcluster with linkage median

2010-09-27 Thread Peter Langfelder
On Mon, Sep 27, 2010 at 8:22 AM, Kennedy wrote: > > Hi, > > I want to perform a hierarchical clustering using the median as linkage > metric. As I understand it the function hcluster in package amap have this > option but it does not produce the results that I expect. Also, if you have a large(r)

Re: [R] hcluster with linkage median

2010-09-27 Thread Peter Langfelder
On Mon, Sep 27, 2010 at 8:22 AM, Kennedy wrote: > > Hi, > > I want to perform a hierarchical clustering using the median as linkage > metric. As I understand it the function hcluster in package amap have this > option but it does not produce the results that I expect. > > In the example below M is

[R] hcluster with linkage median

2010-09-27 Thread Kennedy
Hi, I want to perform a hierarchical clustering using the median as linkage metric. As I understand it the function hcluster in package amap have this option but it does not produce the results that I expect. In the example below M is a matrix of similarities that is transformed into a matrix of