You can calculate the Euclidean distance with dist() and then square it. Sarah
On Wed, Oct 21, 2009 at 11:35 AM, Caro B. <carolin.w...@googlemail.com> wrote: > Dear R-Help-Team, > > > I would like to cluster my data using the ward-method. In several papers I > read (e.g. Bahrenberg) that it is neccesary to use the "squared euclidean > distance" with the ward-method. Unfortunatelly I cannot find this term in r > as a method for measuring the distance. > > Does anybody have an idea? > > Thanks in advance, > Carolin -- Sarah Goslee http://www.functionaldiversity.org ______________________________________________ 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.