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: capri...@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 > 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. [[alternative HTML version deleted]] ______________________________________________ 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.