[R-sig-eco] cluster analysis using both continuous and discrete variables

Gavin Simpson gavin.simpson at ucl.ac.uk
Fri Jan 7 10:01:05 CET 2011


On Thu, 2010-12-30 at 11:20 +0100, Zoltan Botta-Dukat wrote:
> Dear Jonathan,
> 
> Gower distance could be used for mixed (i.e. continuous and categorical) 
> data. You can find function for calculating it in the cluster and vegan 
> packages.

In addition, Etienne Laliberte's FD package has a slightly more flexible
version of Gower's coefficient.

G

> Best wishes
> 
> Zoltan
> 
> 2010.12.29. 20:53 keltezéssel, Jonathan Hughes írta:
> >
> > Hello,
> >
> > I need to do a cluster analysis with a dataset that includes both continuous and discrete variables. I can't get around the problem of computing a meaningful distance matrix with such a dataset. I was wondering if any of you guys has dealt with this issue and what kind of function you found useful.
> >
> > Thanks!
> >
> > Jonathan
> >   		 	   		
> > 	[[alternative HTML version deleted]]
> >
> > _______________________________________________
> > R-sig-ecology mailing list
> > R-sig-ecology at r-project.org
> > https://stat.ethz.ch/mailman/listinfo/r-sig-ecology
> >
> 
> _______________________________________________
> R-sig-ecology mailing list
> R-sig-ecology at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-ecology

-- 
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
 Dr. Gavin Simpson             [t] +44 (0)20 7679 0522
 ECRC, UCL Geography,          [f] +44 (0)20 7679 0565
 Pearson Building,             [e] gavin.simpsonATNOSPAMucl.ac.uk
 Gower Street, London          [w] http://www.ucl.ac.uk/~ucfagls/
 UK. WC1E 6BT.                 [w] http://www.freshwaters.org.uk
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%



More information about the R-sig-ecology mailing list