ec_betadiversity: Compute the beta diversity between all sites

Description Usage Arguments Details Value Author(s) References Examples

Description

Compute the beta diversity between all pair of sites for a specific presence-absence matrix.

Usage

1
ec_betadiversity(mat_pa, methods = "bc", site_names = NULL)

Arguments

mat_pa

presence absence matrix (sites as rows and species as columns).

methods

a vector of two-letters strings describing the methods te be used. Values should be taken among ra, bc, wi and ja (see details).

site_names

string vector giving the names of the sites. If NULL a numerical sequence is used.

Details

Currently ra stands for raw and returns the number of occurrence. Additionnal values are

Value

A matrix with all the combinaison of site and the associated betadiv.

Author(s)

Kevin Cazelles

References

Examples

1
2
mat <- matrix(stats::runif(20)>.5, 10)
ec_betadiversity(mat)

KevCaz/ecoocc documentation built on May 25, 2019, 12:22 p.m.