c/e rates for irregular samplings in a dataset

Share:

Description

irregular_single_dataset calculates colonization and extinction rates in a single dataset.

Usage

1
2
irregular_single_dataset(dataframe, vector, c, e, column = NULL, n = NULL,
  int = NULL, assembly = F)

Arguments

dataframe

A single dataframe.

vector

A vector indicating the columns with presence-absence data.

c

Tentative colonization rate.

e

Tentative extinction rate.

column

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

n

Minimal number of rows for each group

int

Accuracy to calculate the c_e pairs with.

assembly

Logical indicating if the assembly starts from zero species or not.

Value

A dataframe with colonization and extinction rates and their upper and lower confidence interval, and if needed, the names of the groups to which colonization and extinction rates have been calculated.

Note

The columns with the presence-absence data should have the day of that sampling on the name of the column in order to calculate colonization and extinction.

See Also

regular_sampling_scheme, irregular_multiple_datasets

Examples

1
2
3
4
5
6
7
8
irregular_single_dataset(simberloff[[1]], 3:17, 0.001, 0.001)
irregular_single_dataset(simberloff[[1]], 3:17, column = "Tax. Unit 1",
0.001, 0.001, 3)
## Not run: 
irregular_single_dataset(simberloff[[1]], 3:17, column = "Tax. Unit 1",
0.001, 0.001, 3, 0.000001)

## End(Not run)