A library of published compartmental epidemic models, and classes to represent demographic structure, non-pharmaceutical interventions, and vaccination regimes, to compose epidemic scenarios.
This PR adds an initial implementation of a diphtheria model, and fixes #141. See the issue for model features in this implementation.
This PR:
Adds a C++ implementation of the ODE model using Boost odeint as the header inst/include/epidemic_diphtheria.h,
Adds the internal Rcpp function .model_diphtheria_cpp(),
Adds the user-facing function model_diphtheria_cpp() to run the diphtheria model, with some default parameters taken from Finger et al.; these could be updated,
Adds very basic tests for the model running without errors, and having expected output types,
Updates the Readme to add a reference to the model and Finger et al.
Note that:
The model does not support a contact matrix and hence age-stratified contacts,
The model does not support contacts interventions,
This PR adds an initial implementation of a diphtheria model, and fixes #141. See the issue for model features in this implementation.
This PR:
inst/include/epidemic_diphtheria.h
,.model_diphtheria_cpp()
,model_diphtheria_cpp()
to run the diphtheria model, with some default parameters taken from Finger et al.; these could be updated,Note that: