View source: R/RatesToProbabilities.R
cetotrans | R Documentation |
cetotrans
calculates transition probabilities from colonization and
extinction rates for a determined interval of time, when provided.
cetotrans(c, e, dt = 1)
c |
Colonization rate. |
e |
Extinction rate. |
dt |
Interval of time or a vector of time intervals. |
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))
A matrix with the transition probabilities T_{01}
and T_{10}
of the Markov chain
associated with the specified colonization and extinction rates.
cetotrans(0.13, 0.19)
cetotrans(0.2, 0.2, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.