This patch version updates daedalus.compare to be compatible with daedalus >= v0.2.38 which introduced separate hospitalisation compartments in daedalus PR 109. This should have been fixed in v0.0.4.
get_epidata_list() now accesses compartments "hospitalised_recov" and "hospitalised_death" to calculate total hospital demand.This patch version allows users to run multiple vaccination scenarios by passing a list of <daedalus_vaccination> objects to run_scenarios().
Some reorganisation of data processing functions to handle scenarios that vary across vaccination strategies;
Reorganised function documentation.
This patch version updates {daedalus.compare} to work with {daedalus} v0.3.0.
run_scenarios() only accepts <daedalus_npi>, a list of <daedalus_npi> or NULL as inputs to argument response_strategy(); in addition, the NPIs must be time-limited and reactive NPIs are not allowed.Tests and documentation have been changed to reflect the change in accepted NPI input types.
A helper function to check that the NPI input is acceptable.
Restores ability to get epidemic summary disaggregated by age and other groups by passing arguments to daedalus::get_epidemic_summary() via ... in get_summary_data().
Updates for compatibility with daedalus >= v0.2.16 which re-introduces list-infection inputs.
run_scenarios() removed to rely on errors bubbled up from daedalus functions.This is the first version of daedalus.compare and adds:
A scenario-runner function run_scenarios() that wraps around daedalus::daedalus_rtm() and allows running multiple scenarios of pandemic mitigation responses with uncertainty in the infection parameters.
Multiple functions downstream of run_scenarios() that help get data from scenarios in formats suitable for plotting or summarisation:
get_epicurve_data(), get_summary_data(), get_cost_data(), and get_econ_cost_data().
Helper functions and constants: ci(), make_infection_samples(), and NAMES_VECTOR_INF_PARAMS.
Basic tests and function documentation.
NEWS.md file to inform
users about changes and new features.