Description Usage Arguments Value Author(s) Examples
If the transmission can be charaterised by a Poisson offspring distribution, see the function alpha.poisson(R) to compute alpha for a given R. The probability of extinction is computed assuming a single initial case. To obtain the probability extinction associated with n initial case, simply raise the probability returned by this function to the power of n.
1 | proba_ext(alpha)
|
alpha: |
a value related to the reproduction number and the offspring distribution. |
The function returns the probability of extinction for a given alpha. Formally, Pext=exp(-alpha)
Pierre Nouvellet (p.nouvellet@imperial.ac.uk)
1 2 | x <- proba.ext(c(.5,1))
x
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.