Description Usage Arguments Value Author(s) Examples
Compute the probability of observing an outbreak of size z given an R<1 and assuming a Poisson offspring distribution
1 | f_z_poiss(z, s, R)
|
R |
is the reproduction number, i.e. the average number of secondary cases due to a single case. This can be any positive number. |
The function returns a list including:
R_eff: the effective reproduction number. Note that if R<1, then R_eff=R.
alpha given the reproduction number and assuming a Poisson offspring distribution. Note that if R<1, then alpha=0.
proba_ext: the probability of extinction given alpha. Note that if R<1, then proba_ext=1.
#'
Pierre Nouvellet (p.nouvellet@imperial.ac.uk)
1 2 3 4 | x <- R_eff_poisson(.5)
x
x <- R_eff_poisson(1.5)
x
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.