Note: this package has now been superseded by the Epiverse package finalsize
Below is the original implementation of an R
package to calculate final size for SIR epidemic in a heterogenous population.
The easiest way to install the development version of SIRfinalsize
is to use the devtools
package:
# install.packages("devtools")
library(devtools)
install_github("adamkucharski/SIRfinalsize")
library(SIRfinalsize)
Kucharski AJ, Kwok KO, Wei VW, Cowling BJ, Read JM, Lessler J, Cummings DA, Riley S. The contribution of social behaviour to the transmission of influenza A in a human population. PLOS Pathogens 2014;10(6):e1004206 PMID: 24968312
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.