SIRmcmc: 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" <doi:10.1002/sim.9181>.

Version: 1.1
Depends: R (≥ 3.5.0)
Imports: Rcpp (≥ 0.12.15)
LinkingTo: Rcpp
Published: 2021-11-23
Author: F Scott Dahlgren and Ivo M Foppa
Maintainer: F Scott Dahlgren <fdahlgr at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: yes
Citation: SIRmcmc citation info
CRAN checks: SIRmcmc results


Reference manual: SIRmcmc.pdf


Package source: SIRmcmc_1.1.tar.gz
Windows binaries: r-devel:, r-devel-UCRT:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): SIRmcmc_1.1.tgz, r-release (x86_64): SIRmcmc_1.1.tgz, r-oldrel: SIRmcmc_1.1.tgz


Please use the canonical form to link to this page.