island (version 0.2.4)

cetotrans: From rates to probabilities

Description

cetotrans calculates transition probabilities from colonization and extinction rates for a determined interval of time, when provided.

Usage

cetotrans(c, e, dt = 1)

Arguments

c

Colonization rate.

e

Extinction rate.

dt

Interval of time or a vector of time intervals.

Value

A matrix with the transition probabilities T_01 and T_10 of the Markov chain associated with the specified colonization and extinction rates.

Details

Given a pair of colonization and extinction rates, we can calculate the transition probabilities with the following equations: $$T_{01} = (e / (c + e)) * (1 - exp( - (c + e) * dt))$$ $$T_{10} = (c / (c + e)) * (1 - exp( - (c + e) * dt))$$

Examples

Run this code
# NOT RUN {
cetotrans(0.13, 0.19)
cetotrans(0.2, 0.2, 2)
# }

Run the code above in your browser using DataLab