regular_sampling_scheme: c/e rates for a regular sampling scheme

Description Usage Arguments Value See Also Examples

View source: R/RegularSamplingTimes.R

Description

regular_sampling_scheme calculates colonization and extinction rates for a community or groups in a community.

Usage

1
regular_sampling_scheme(x, vector, level = NULL, otus = NULL, int = NULL)

Arguments

x

A single dataset.

vector

A vector indicating the columns with presence-absence data.

level

The name of the column with groups to calculate their c_e pair.

otus

Minimal number of rows for each group

int

Accuracy to calculate the c_e pairs with.

Value

A dataframe with colonization and extinction rates along with their associated transition probabilities or their lower and upper confidence intervals, for each group if specified.

See Also

irregular_single_dataset, irregular_multiple_datasets

Examples

1
2
3
regular_sampling_scheme(alonso15[[1]], 3:6)
regular_sampling_scheme(alonso15[[1]], 3:6, "Guild", 5)
regular_sampling_scheme(alonso15[[1]], 3:6, "Guild", 5, 0.001)

island documentation built on July 11, 2017, 1:02 a.m.