View source: R/ec_betadiversity.R
ec_betadiversity | R Documentation |
Compute the beta diversity between all pairs of sites for a specific presence-absence matrix.
ec_betadiversity(x, methods = "bc")
x |
a |
methods |
a vector of two-letters strings describing the methods te be used.
Values should be taken among |
Currently ra
stands for raw and returns the number of occurrence.
Additional values are
bc
: Bray-Curtis index,
wi
: Wishart index,
ja
: Jaccard index.
A matrix with all the combinaisons of sites and the corresponding betadiversity.
Legendre, P., and De Caceres M.. Beta Diversity as the Variance of Community Data: Dissimilarity Coefficients and Partitioning. Ecology Letters (2013).
Koleff, P., Gaston, K. J. & Lennon, J. J. Measuring beta diversity for presence-absence data. Journal of Animal Ecology (2003).
mat <- ec_generate_pa(20, 10, .4)
ec_betadiversity(mat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.