I could not figure out what was the default when I ran hclust() without specifying the method. For example: I just have a code like: hclust(dist(data)) Any input would be appreciated:) [[alternative HTML version deleted]]
Absolute distance is the default distance in hclust. v<-c(1,2,3,4,5,6) dist(v) 2 1 3 2 1 4 3 2 1 5 4 3 2 1 6 5 4 3 2 1 Eliza> Date: Thu, 12 Dec 2013 15:09:19 -0800 > From: capricyg@yahoo.com > To: r-help@r-project.org > Subject: [R] method default for hclust function > > I could not figure out what was the default when I ran hclust() without specifying the method. > > For example: > > I just have a code like: > > hclust(dist(data)) > > Any input would be appreciated:) > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list > stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.[[alternative HTML version deleted]]
On Thu, Dec 12, 2013 at 3:09 PM, capricy gao <capricyg at yahoo.com> wrote:> I could not figure out what was the default when I ran hclust() without specifying the method.According to help("hclust"), the default method is complete linkage. HTH, Peter