[R] UPGMA

Martin Maechler maechler at stat.math.ethz.ch
Tue Dec 14 10:09:58 CET 2004


>>>>> "Thomas" == Thomas Isenbarger <isen at plantpath.wisc.edu>
>>>>>     on Mon, 13 Dec 2004 14:27:56 -0600 writes:

    Thomas> R-help folks:

    Thomas> Thanks in the past for your help.  I have another
    Thomas> question that I hope has a simple answer.  I have
    Thomas> searched the R home pages and the R-help archives
    Thomas> with no hits.  How can I cluster data in R using
    Thomas> UPGMA?

library(cluster)
?agnes		# uses method="average" aka UPGMA by default

or
?hclust		# has  method="average" as well.


I've added a \concept{} to agnes such that from the next version
of "cluster", 
   help.search("UPGMA clustering") 
will find agnes().

Martin Maechler, ETH Zurich




More information about the R-help mailing list