Skip to content
R package for "Epidemics: Models and data using R"
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
rcode Add files via upload Apr 2, 2019
Errata Update Errata Feb 8, 2019 Update Apr 30, 2019
syllabus.pdf Add files via upload Jan 6, 2019

Epidemics: Models and Data in R

by Ottar N. Bjornstad (ISBN 978-3-319-97487-3)

CHECK OUT Simon Frosts for an interactive port of the material!

Errata -- I already found a mistake.

allapps3.R -- source code for all shiny-apps in book (as well as some others)... Moved to

mov/ -- web-optimized animated gif's for the book.

syllabus.pdf -- The 15 week (3 hrs / week) syllabus for the class I'll be teaching this spring.

The EPIMDR-package

Description: Functions, data sets and Shiny apps for "Epidemics: Models and Data in R" by Ottar N. Bjornstad (ISBN 978-3-319-97487-3) 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

The most recent version can be installed from CRAN: CRAN Status CRAN RStudio mirror downloads

All code was written by Ottar N. Bjornstad ( and is licensed under the CC-BY-NC Creative Commons attribution-noncommercial license ( Please share & remix non-commercially, mentioning its origin.

You can’t perform that action at this time.