Theory, Examples & Exercises
This is an old revision of the document!
Author: Pierre Legendre
Source: Legendre & De Caceres (2013): Beta diversity as the variance of community data: dissimilarity coefficients and partitioning. Ecology Letters, 16: 951–963, Appendix S4.r. Previously available also from P. Legendre's website, now implemented as a part of
adespatial package (S. Dray, see help file).
The code presented here comes from P. Legendre's website and is slightly different (updated) compared to the original code published as Appendix S4 of the paper (among other changes, the name of
percentagedifference method has been changed into
%difference, and one more dissimilarity metric has been added, namely
ruzicka). Help file for the function is here.
Direct import of Legendre's code: