distMS {adiv} | R Documentation |
Marczewski-Steinhaus Coefficient
Description
The function calculates the Marczewski-Steinhaus coefficient of dissimilarity between pairs of entities (e.g. communities)
Usage
distMS(comm, diag = FALSE, upper = FALSE)
Arguments
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 |
Value
an object of class dist
Note
This function is a modification of function dist.quant
from library ade4 where other dissimilarity coefficients can be found.
Author(s)
Sandrine Pavoine sandrine.pavoine@mnhn.fr
References
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.
Examples
data(birdData)
distMS(birdData$fau)