View source: R/epi_final_size.R
epi_final_size | R Documentation |
This function calculates final epidemic size using SIR model for heterogeneously mixing population
epi_final_size(r0 = 2, contact_matrix, demography_vector, prop_suscep = NULL)
r0 |
Basic reproduction number. Default is 2 |
contact_matrix |
Social contact matrix. Entry mm_ij gives average number of contacts in group i reported by participants in group j |
demography_vector |
Demography vector. Entry pp_i gives proportion of total population in group i (model will normalise if needed) |
prop_suscep |
Proportion of each group susceptible. Null assumption is fully susceptible |
epi_final_size()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.