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 makes a number of smaller edits to clean up and streamline the existing codebase prior to adding a diphtheria model.
All references to infections have been removed unless appropriate, with variables renamed where necessary,
All optional model inputs now use {checkmate}'s null.ok argument instead of an if-else ladder,
All model checker functions now check whether optional arguments such as intervention are NULL, instead of missing (replacing missing() with is.null()),
All model functions' documentation has been updated and compressed where possible,
Internal C++ code for Vacamole has been modified to disallow rate interventions on derived parameters, and this is WIP #144,
All helper functions now place required args before optional args,
Helper functions return <data.frame> instead of <data.table> to improve interoperability, although {data.table} is still used internally,
Helper functions' documentation has been updated,
Vignettes have been corrected where required,
Tests have been updated to account for data.frame output and renamed function arguments - a snapshot test for ebola has been updated to reflect data.frame output,
Fixes #120 by correcting younger age group vaccination rates in vignette.
This PR makes a number of smaller edits to clean up and streamline the existing codebase prior to adding a diphtheria model.
null.ok
argument instead of anif-else
ladder,intervention
areNULL
, instead of missing (replacingmissing()
withis.null()
),<data.frame>
instead of<data.table>
to improve interoperability, although {data.table} is still used internally,