-
The package now includes the
LFMCMC
module that implements the likelihood-free Markov Chain Monte Carlo algorithm. This module is used to estimate the parameters of the models. -
The new function
add_param()
allows the user to add parameters to the model. -
The new function
rm_globalevent()
allows the user to remove global events from the model. -
The function
today()
returns the current day (step) of the simulation.
-
Starting version 0.3-0,
epiworldR
is versioned using the same version as the C++ library,epiworld
. -
Adds the new mixing models
ModelSIRMixing
andModelSEIRMixing
. -
Ports the
Entity
class. Entities are used to group agents within a model. -
Refactors
add_tool
,add_virus
, andadd_entity
simplifying syntax. Now, these functions only receive the model and object. Prevalence is specified in the object itself.add_tool_n
andadd_virus_n
are now deprecated. -
globalaction_*
are now defunct. Useglobalevent_*
instead. -
New functions to specify how viruses, tools, and entities are distributed among agents:
distribute_viruses
,distribute_tools
, anddistribute_entities
.
- Force model to update agents' states when running a simulation.
This was causing issues when calling
run_multiple()
after a single call ofrun()
. Reported on 14.
-
Added missing checks of tool class when adding a model with
add_too_n
. -
Various small improvements.
-
Added the following models:
ModelSEIRD
,ModelSEIRDCONN
,ModelSIRD
,ModelSIRDCONN
, andModelSISD
. -
Fixed a bug reported on issue 6.
-
Added a
NEWS.md
file to track changes to the package. -
Fixed bug reported by CRAN about reference to nullptr.
-
Renamed arguments across Models in favor of consistency.
-
Figures now show virus/tool name instead of id.
-
Fixed bug in
run_multiple
and added more tests (C++). -
Redid autoconf and Makevars using RcppArmadillo as a template for checking for OpenMP.