Functions and Data for "Epidemics: Models and Data in R"
Overview
Functions, data sets and shiny apps for "Epidemics: Models and Data in R" by Ottar N. Bjornstad (ISBN 978-3-319-97487-3) https://www.springer.com/gp/book/9783319974866. 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.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK13 OK2026-05-11
Show 2 earlier changesHide 2 earlier changes
- WARNING12 OK, 1 WARNING2026-05-10
- OK14 OK2026-03-10
Documentation
- Help pages
- 71
- Examples that run
- 69%22 run in a plain check · 9 never run · 1 hold no code
- Exported functions with examples
- 94%
- Documented parameters
- 98%
- Return-value docs
- 81%
- Help pages citing references
- 0%
Downloads
Repository
Stars over time
Forks over time
Issues over time
PRs over time
Checks run against github.com/objornstad/epimdr on 2026-10-18.
No development-tooling practices detected in the upstream repository.
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 0.6-5Latest
- 0.6-4
- 0.6-32019-05-03 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 0.6-22019-01-17 · diff ↗
- 0.6-12018-10-26
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2018-10-26
- Total releases
- 5 / 8 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.3.2
- Bundled data
- 832 KB / 35 files
- Download size
- 849 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("epimdr")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.