View source: R/probability_epidemic.R
probability_extinct | R Documentation |
Calculates the probability a branching process will not causes
an epidemic and will go extinct. This is the complement of the probability
of a disease causing an epidemic (probability_epidemic()
).
probability_extinct(
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 going extinct.
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")}
probability_epidemic()
probability_extinct(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.