distMS | R Documentation |
The function calculates the Marczewski-Steinhaus coefficient of dissimilarity between pairs of entities (e.g. communities)
distMS(comm, diag = FALSE, upper = FALSE)
comm |
a data frame or a matrix of nonnegative values (e.g. abundance of species (columns) within communities (rows) to obtain dissimilarities between communities). |
diag |
a logical value indicating whether the diagonal of the distance matrix should be printed by function |
upper |
a logical value indicating whether the upper triangle of the distance matrix should be printed by function |
an object of class dist
This function is a modification of function dist.quant
from library ade4 where other dissimilarity coefficients can be found.
Sandrine Pavoine sandrine.pavoine@mnhn.fr
Orloci, L. (1978) Multivariate Analysis in Vegetation Research. The Hague: Junk.
Legendre, P. and Legendre, L. (1998) Numerical Ecology. Amsterdam: Elsevier.
Ricotta, C., de Bello, F., Moretti, M., Caccianiga, M., Cerabolini, B.E., Pavoine, S. (2016). Measuring the functional redundancy of biological communities: a quantitative guide. Methods in Ecology and Evolution, 7, 1386–1395.
data(birdData)
distMS(birdData$fau)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.