[R] gower distance calculation

Andrej Kastrin andrej.kastrin at siol.net
Fri Nov 17 14:11:23 CET 2006


Roy Spitz pravi:
> Hello
>
>  
>
> I have 2 rows in a matrix and I want to calculate the Gower Distance between
> the 2 , how can I do it?
> I searched and found nothing that can help me, and my program doesn't know
> the gdist function and I couldn't find it on the R help site.
>
>  
>
> Can anyone help me plz
>
>  
>
> Thank u all
>
>  
>
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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.
>
>   
Look at the daisy function in the cluster package...

hth, andrej



More information about the R-help mailing list