Estimates the time-varying reproduction number, rate of
spread, and doubling time using a renewal equation approach combined
with Bayesian inference via Stan. Supports Gaussian process and
random walk priors for modelling changes in
transmission over time. Accounts for delays between infection and
observation (incubation period, reporting delays), right-truncation
in recent data, day-of-week effects, and observation overdispersion.
Can estimate relationships between primary and secondary outcomes
(e.g., cases to hospitalisations or deaths) and forecast both. Runs
across multiple regions in parallel. Based on
Abbott et al. (2020) <doi:10.12688/wellcomeopenres.16006.1> and
Gostic et al. (2020) <doi:10.1101/2020.06.18.20134858>.
| Version: |
1.9.0 |
| Depends: |
R (≥ 3.5.0) |
| Imports: |
checkmate, cli, data.table (≥ 1.15.0), futile.logger (≥
1.4), ggplot2, lifecycle, lubridate, methods, patchwork, posterior, primarycensored, purrr, R.utils (≥ 2.0.0), Rcpp (≥
0.12.0), rlang (≥ 0.4.7), rstan (≥ 2.26.0), rstantools (≥
2.2.0), runner, scales, stats, truncnorm, utils |
| LinkingTo: |
BH (≥ 1.66.0), Rcpp (≥ 0.12.0), RcppEigen (≥ 0.3.3.3.0), RcppParallel (≥ 5.0.1), rstan (≥ 2.26.0), StanHeaders (≥
2.26.0) |
| Suggests: |
cmdstanr, future, future.apply, knitr, parallelly, progressr, rmarkdown, scoringutils, spelling, testthat, withr |
| Published: |
2026-06-16 |
| DOI: |
10.32614/CRAN.package.EpiNow2 |
| Author: |
Sam Abbott [aut],
Joel Hellewell
[aut],
Katharine Sherratt [aut],
Katelyn Gostic [aut],
Joe Hickson [aut],
Hamada S. Badr
[aut],
Michael DeWitt
[aut],
James M. Azam
[aut],
Adrian Lison
[aut],
Robin Thompson [ctb],
Sophie Meakin [ctb],
James Munday [ctb],
Nikos Bosse [ctb],
Paul Mee [ctb],
Peter Ellis [ctb],
Pietro Monticone [ctb],
Lloyd Chapman [ctb],
Andrew Johnson [ctb],
Kaitlyn Johnson
[ctb],
Adam Howes [ctb],
Sebastian Funk
[aut, cre] |
| Maintainer: |
Sebastian Funk <sebastian.funk at lshtm.ac.uk> |
| BugReports: |
https://github.com/epiforecasts/EpiNow2/issues |
| License: |
MIT + file LICENSE |
| URL: |
https://epiforecasts.io/EpiNow2/,
https://epiforecasts.io/EpiNow2/dev/,
https://github.com/epiforecasts/EpiNow2 |
| NeedsCompilation: |
yes |
| SystemRequirements: |
GNU make C++17 |
| Additional_repositories: |
https://production.r-multiverse.org/2026-03-15 |
| Language: |
en-GB |
| Materials: |
README, NEWS |
| In views: |
Epidemiology |
| CRAN checks: |
EpiNow2 results |