Skip to contents

This package implements the Early Pandemic Age-Structured Compartmental (EPAC) model developed by Michael WZ Li and Irena Papst from the Public Health Risk Sciences Division of the Public Health Agency of Canada using macpan2 modelling software.

The goal of this package is to catalogue, document, and version iterations of the Early Pandemic Age-structured Compartmental model so that they can be pulled easily into project-specific pipelines to produce modelling outputs.

Installation

If you’re on a Windows system, please install Rtools matching your R version from here. This ensures you have a C++ compiler, which is required to install macpan2, a dependency of EPACmodel.

Versioned releases of EPACmodel can be installed with

remotes::install_github("phac-nml-phrsd/EPACmodel@vx.y.z")

where x.y.z is the version number. Available version numbers can be found here.

The development version of EPACmodel can be installed with:

remotes::install_github("phac-nml-phrsd/EPACmodel")

Getting started

A getting started guide can be found in vignette("EPACmodel").