ec_temporal_betadiversity: Compute temporal betadiversity

Description Usage Arguments Details Value Examples

View source: R/ec_temporal_betadiversity.R

Description

Compute temporal betadiversity.

Usage

1
ec_temporal_betadiversity(x1, x2, methods = "bc", site_names = NULL)

Arguments

x1

a pa object representing a presence-absence matrix at time 1.

x2

a pa object representing a presence-absence matrix at time 2.

methods

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

site_names

string vector giving the names of the sites.

Details

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

Value

A data frame with desired output as columns.

Examples

1
ec_temporal_betadiversity(rbind(c(1, 0), c(1, 1)), rbind(c(0, 1), c(1, 1)))

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