Re: [R] Finding distance matrix for categorical data

From: Joris Meys <jorismeys_at_gmail.com>
Date: Thu, 10 Jun 2010 19:03:35 +0200

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

______________________________________________
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.
Received on Thu 10 Jun 2010 - 17:05:33 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 10 Jun 2010 - 17:10:29 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive