Changelog
Source:NEWS.md
MGDrivE2 2.1.0
CRAN release: 2023-03-04
New features:
- Decoupled/Imperial sampling can now calculate malaria-induced severe disease and mortality. See
human_Imperial_ODEfunction for implementation details. -
equilibrium_Imperial_decoupledupdated to calculate the total number of mosquitoes given human population parameters.
Bugfixes:
-
human_Imperial_ODEupdated to correctly calculate the per-capita force of infection. Does not fail with suppression constructs anymore due to divide-by-zero error. -
base_female_Imperialupdated with correct mosquito density equations to begin the mosquito population at equilibrium, based on epi parameters.
MGDrivE2 2.0.0
CRAN release: 2022-08-20
New features
- Decoupled epi-mosquito dynamics now implemented with Imperial model of malaria transmission. See Vignettes for details.
-
add_interventionsallows mosquito lifecycle parameters to vary in the presence of LLINs and IRS.
MGDrivE2 1.2.0
New features:
- Function
batch_migrationnow takes an additional argumentstagesto allow simulation of batch migration where only one of egg, larval, or pupal stages experiences batch migration events. - Stuff about decoupled epi-mosquito dynamics
Bugfixes, miscellaneous:
- If tracking events using
sim_trajectory_base_CSV, write to file called “Tracking.csv” instead of “Events.csv” to avoid clashes with summary functionsplit_aggregate_CSV.
MGDrivE2 1.1.0
CRAN release: 2021-01-13
New features:
- Update to include batch migration, see new file
R/auxiliary-batch.Rand user-facing functionbatch_migrationwhich sets up the batch migration events. Functionssim_trajectory_Randsim_trajectory_CSVnow take an additional argumentbatchwhich may be set toNULLif no batch migration is to be simulated. - Added function
get_shapeto get the shape parameter (number of bins) for Erlang developmental delays, given rate parameterqand coefficient of variationcv.
Bugfixes, miscellaneous:
- In
sim_trajectory_base_CSVandsim_trajectory_base_Rthe hazards are now correctly evaluated at the start of the time step rather than at the end; [times[i-1],times[i]). Both functions no longer need the (extraneous) argumentdt. - Remove argument
t0fromsim_trajectory_base_CSVandsim_trajectory_base_R, all simulations are assumed to start at time 0. Change named argumenttttotmax. - In
sim_trajectory_base_CSVandsim_trajectory_base_Rtesting for whether to preform a release is now based on a<=check, rather than equality. - Add argument
nto functionspn_T_lifecycle_networkto allow simulation of multiple nodes with no migration between them. Useful for debugging as well as for simulation of landscapes where nodes are far enough apart that batch migration is the only way for mosquitoes to travel between nodes.
MGDrivE2 1.0.1
CRAN release: 2020-10-24
Small fixes to address CRAN comments:
-
R/hazard-functions-mosy.R: functionmake_move_male_hazhas a fix such that the origin/destination probability is correctly calculated. -
R/equilibrium-lifecycle.R: functionbasic_eq_lifemodified to not use the<<-global assignment operator. -
vignettes/output-storage.Rmd:replaced absolute path for files withtempdir()to conform to the CRAN standard. - Edit
DESCRIPTIONto conform to CRAN standard. - Remove
dontruncode from examples where not necessary and direct users to appropriate vignettes, otherwise run examples.