c/e rates for irregular samplings in multiple datasets

Share:

Description

irregular_multiple_datasets calculates colonization and extinction rates for data in several datasets.

Usage

1
2
irregular_multiple_datasets(list, vectorlist, c, e, column = NULL, n = NULL,
  CI = FALSE, assembly = F)

Arguments

list

A list of dataframes.

vectorlist

A list of vectors 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.

CI

Logical. If TRUE, gives the confidence interval of the colonization and extinction rates.

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_single_dataset

Examples

1
2
3
4
5
6
7
8
9
irregular_multiple_datasets(simberloff, list(3:17, 3:18, 3:17,
3:19, 3:17, 3:16), 0.001, 0.001)
## Not run: 
irregular_multiple_datasets(simberloff, list(3:17, 3:18, 3:17, 3:19, 3:17,
 3:16), 0.001, 0.001, "Tax. Unit 1", n = 13)
irregular_multiple_datasets(simberloff, list(3:17, 3:18, 3:17, 3:19, 3:17,
 3:16), 0.001, 0.001, "Tax. Unit 1", n = 13, CI = TRUE)
 
## End(Not run)