Description Usage Arguments Value Author(s) Examples
View source: R/alpha_poisson.R
If the transmission can be charaterised by a Poisson offspring distribution, the function alpha.poisson(R) compute alpha for a given R. alpha is linked to probability of extinction and allow us, for any Rl>1, to find an Rs<1 guaranteeing that conditional on extinction, outbreak properties starting from Rs or Rl are exactly the same.
1 |
R |
is the reproduction number, i.e. the average number of secondary cases due to a single case. This can be any positive number. if R is a vector, then the length of R must be 'n' (see below). |
The function returns alpha assuming a Poisson offspring distribution.
Pierre Nouvellet (p.nouvellet@imperial.ac.uk)
1 2 | x <- alpha_poisson(c(1.5,.5))
x
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.