ec_betadiversity: Compute beta diversity

Description Usage Arguments Details Value References Examples

View source: R/ec_betadiversity.R

Description

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

Usage

1

Arguments

x

a pa object or an R object to a coerced to one (see ec_as_pa()).

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).

Details

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

Value

A matrix with all the combinaisons of sites and the corresponding betadiversity.

References

Examples

1
2
mat <- ec_generate_pa(20, 10, .4)
ec_betadiversity(mat)

KevCaz/ecoocc documentation built on Nov. 7, 2021, 3:02 p.m.