This is the R package for the 2nd edition of "Epidemics: Models and data" by Ottar Bjornstad to appear in the fall of 2022.
The epimdr2-package
Description: Functions, data sets and Shiny apps for "Epidemics: Models and Data in R (2nd edition)" by Ottar N. Bjornstad (978-3-031-12055-8) https://link.springer.com/book/9783031120558/. Functions, data sets and shiny apps for "Epidemics: Models and Data in R (2nd edition)" by Ottar N. Bjornstad (ISBN: 978-3-031-12055-8) https://link.springer.com/book/9783031120558/. The package contains functions to study the S(E)IR model, spatial and age-structured SIR models; time-series SIR and chain-binomial stochastic models; catalytic disease models; coupled map lattice models of spatial transmission and network models for social spread of infection. The package is also an advanced quantitative companion to the Coursera Epidemics Massive Online Open Course https://www.coursera.org/learn/epidemics/.
The most recent version can be installed from CRAN:
All code was written by Ottar N. Bjornstad (onb1@psu.edu) and is licensed under the CC-BY-NC Creative Commons attribution-noncommercial license (http://creativecommons.org/licenses/by-nc/3.0/). Please share & remix non-commercially, mentioning its origin.
Stand alone Rmarkdowns for all shiny-apps in book (as well as some others) are on https://github.com/objornstad/ecomodelmarkdowns
mov/ -- web-optimized animated gif's for the book.