Calculates beta diversity using a modified version of Legendre & Caceres's
a matrix of presence-absence data; species are columns, sites are rows
the method for calculating beta diversity
in Ecology Letters (2013) 16: 951-963 "Beta diversity as the variance of community data: dissimilarity coefficients and partitioning" a function
beta.div is provided in the supplement. This function is an abbreviated version that can be used for 4 out of the original's 20 options, and only returns the total beta diversity (original returned many other values). This function was written to be much faster than the original, as the original can be quite slow if being run for 10's of thousands of matrices (think Bayesian posterior of MSOM results).
Returns a single numeric value that is the total beta diversity of the matrix (SS_total/(n-1))
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.