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.

Reply via email to