Compartmental Susceptible-Infectious-Recovered (SIR) Model of Community and Household Infection

We build an Susceptible-Infectious-Recovered (SIR) model where the rate of infection is the sum of the household rate and the community rate. We estimate the posterior distribution of the parameters using the Metropolis algorithm. Further details may be found in: F Scott Dahlgren, Ivo M Foppa, Melissa S Stockwell, Celibell Y Vargas, Philip LaRussa, Carrie Reed (2021) "Household transmission of influenza A and B within a prospective cohort during the 2013-2014 and 2014-2015 seasons" .


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.1 by F Scott Dahlgren, 12 days ago

Browse source code at

Authors: F Scott Dahlgren and Ivo M Foppa

Documentation:   PDF Manual  

GPL (>= 2) license

Imports Rcpp

Linking to Rcpp

See at CRAN