I am sorry, After further inspection I fear my last answer was not correct, please ignore it - and let's wait for other responders.
Tal ----------------Contact Details:------------------------------------------------------- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | www.r-statistics.com (English) ---------------------------------------------------------------------------------------------- On Wed, Mar 3, 2010 at 11:16 PM, Tal Galili <tal.gal...@gmail.com> wrote: > when you create the distance function to put into the hclust, use: > > dist(x, method = "manhattan") > > > Tal > > > > ----------------Contact > Details:------------------------------------------------------- > Contact me: tal.gal...@gmail.com | 972-52-7275845 > Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | > www.r-statistics.com (English) > > ---------------------------------------------------------------------------------------------- > > > > > > On Wed, Mar 3, 2010 at 9:14 PM, naama <nw...@technion.ac.il> wrote: > >> >> How can I perform cluster analysis using the mahalanobis distance instead >> of >> the euclidean distance? >> thank you >> Naama Wolf >> >> -- >> View this message in context: >> http://n4.nabble.com/cluster-with-mahalanobis-distance-tp1577038p1577038.html >> Sent from the R help mailing list archive at Nabble.com. >> >> ______________________________________________ >> 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.