[R] Finding distance matrix for categorical data

Joris Meys jorismeys at gmail.com
Thu Jun 10 19:03:35 CEST 2010


correction.
See ?daisy in the PACKAGE cluster. *slaps head*
cheers
Joris

On Thu, Jun 10, 2010 at 7:02 PM, Joris Meys <jorismeys at gmail.com> wrote:
> see ?daisy in the library cluster
>
> Cheers
> Joris
>
> On Thu, Jun 10, 2010 at 6:12 PM, kapil mahant <kapil_mahant at yahoo.com> wrote:
>> All,
>>
>> How can we find a distance matrix for categorical data
>>
>> ie.  given a csv below
>>
>>                   var1         var2    var3    var4
>> element1-1   yes            x         a         k
>> element1-2   no             y         b         l
>> element1-3   maybe       y         c          m
>>
>> how can i compute the distance matrix between all the elements
>>
>> Actually i need it to create clusters on top of it
>>
>> Thanks & Regards
>> Kapil
>>
>>
>>        [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-help at 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.
>>
>
>
>
> --
> Joris Meys
> Statistical consultant
>
> Ghent University
> Faculty of Bioscience Engineering
> Department of Applied mathematics, biometrics and process control
>
> tel : +32 9 264 59 87
> Joris.Meys at Ugent.be
> -------------------------------
> Disclaimer : http://helpdesk.ugent.be/e-maildisclaimer.php
>



-- 
Joris Meys
Statistical consultant

Ghent University
Faculty of Bioscience Engineering
Department of Applied mathematics, biometrics and process control

tel : +32 9 264 59 87
Joris.Meys at Ugent.be
-------------------------------
Disclaimer : http://helpdesk.ugent.be/e-maildisclaimer.php



More information about the R-help mailing list