[R] squared euclidean distance
Sarah Goslee
sarah.goslee at gmail.com
Wed Oct 21 19:35:48 CEST 2009
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.ws09 at 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
More information about the R-help
mailing list