Learn R Programming

adiv (version 2.0.1)

distMS: 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 print.dist.

upper

a logical value indicating whether the upper triangle of the distance matrix should be printed by function print.dist.

Value

an object of class dist

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

Run this code
# NOT RUN {
data(birdData)
distMS(birdData$fau)
# }

Run the code above in your browser using DataLab