View source: R/probability_epidemic.R
probability_epidemic | R Documentation |
Calculates the probability a branching process will cause an epidemic (i.e. probability will fail to go extinct) based on R, k and initial cases.
probability_epidemic(
R,
k,
num_init_infect,
ind_control = 0,
pop_control = 0,
...,
offspring_dist
)
R |
A |
k |
A |
num_init_infect |
An |
ind_control |
A |
pop_control |
A |
... |
< |
offspring_dist |
An |
A value with the probability of a large epidemic.
Lloyd-Smith, J. O., Schreiber, S. J., Kopp, P. E., & Getz, W. M. (2005) Superspreading and the effect of individual variation on disease emergence. Nature, 438(7066), 355-359. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1038/nature04153")}
Kucharski, A. J., Russell, T. W., Diamond, C., Liu, Y., Edmunds, J., Funk, S. & Eggo, R. M. (2020). Early dynamics of transmission and control of COVID-19: a mathematical modelling study. The Lancet Infectious Diseases, 20(5), 553-558. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1016/S1473-3099(20)30144-4")}
probability_extinct()
probability_epidemic(R = 1.5, k = 0.1, num_init_infect = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.