epidemia requires R v3.5.0 or above. The latest version of R can be downloaded here.

The package can be installed directly from github. However, this requires you to have a working C++ toolchain. To ensure that this is working, please first install rstan by following these installation instructions.

After installing rstan, running


will install the latest development version of epidemia.

If using windows, you can alternatively install the binary.

Vignettes are not currently included in the package because they are computationally demanding, and are best viewed online.