see ?daisy in the library cluster Cheers Joris
On Thu, Jun 10, 2010 at 6:12 PM, kapil mahant <kapil_mah...@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@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.m...@ugent.be ------------------------------- Disclaimer : http://helpdesk.ugent.be/e-maildisclaimer.php ______________________________________________ R-help@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.