[R] how to get dissimilarity matrix

Martin Maechler maechler at stat.math.ethz.ch
Tue Jul 19 08:51:34 CEST 2005


>>>>> "Baoqiang" == Baoqiang Cao <caobg at email.uc.edu>
>>>>>     on Mon, 18 Jul 2005 15:02:05 -0400 writes:

    Baoqiang> Hello All, I'm learning R. Just wonder, any
    Baoqiang> package or function that I can use to get the
    Baoqiang> dissimilarity matrix? Thanks.

Yes,
learn to use help.search()  {also read the docu :  ?help.search}

help.search("dissimilarity")

and find daisy() in recommended package 'cluster'.
There's also  dist() in 'stats' which is a bit less versatile.




More information about the R-help mailing list