smjenness
released this
Minor updates for CRAN submission.
Assets
2
smjenness
released this
Minor updates for CRAN resubmission.
Assets
2
smjenness
released this
- This release introduces a major update to the EpiModel package infrastructure and application programming interface for both built-in models (primarily used for teaching purposes) and extension models (primarily used for research purposes). The major substantive changes are summarized in a EpiModel 1.x to EpiModel 2.0 migration guide on our primary website: https://epimodel.org/.
Assets
2
smjenness
released this
BUG FIXES
- Improve error handling for inputs to
dissolution_coefs. - Skip dissolution diagnostics in
netdxif a static ERGM is passed.
NOTE
- This will be the last version of EpiModel 1.0 before major revisions to the
package infrastructure and API to be released in EpiModel 2.0.
Assets
2
smjenness
released this
NEW FEATURES
- Add foundation updates to support the
tergmLitepackage (to be released). - Print network statistic diagnostics stored in
netsimobject with
print.netsim(x, formation.stats = TRUE).
BUG FIXES
- Fix issue
plot.netsimdefault colors when number of variables exceeds 3.
OTHER
- Add example for differential homophily in a TERGM dissolution model in
dissolution_coefsdocumentation.
Assets
2
smjenness
released this
NEW FEATURES
- Add a
skip.dissolutionargument tonetdxto skip dissolution diagnostics
for computational efficiency.
BUG FIXES
- Fixes output formatting of network stats saved during
netsimruns. - Correctly errors when running dynamic network diagnostics with
netdxon a
cross-sectional ergm. - Remove old unused utility functions.
- Enforce depend on ergm >= 3.10 package.
Assets
2
smjenness
released this
BUG FIXES
- Fix logical evaluations in
get_simsand unit tests inplot.transmatfound
during CRAN submission for v1.7.1.
Assets
2
smjenness
released this
NEW FEATURES
- Two helper functions,
get_argsandapportion_lr, ported over from
EpiModelHIV. - Two custom ERGM terms,
absdiffbyandabsdiffnodemix, ported over from
EpiModelHIV.
BUG FIXES
- Fix linked functions in embedded Shiny apps broken in v1.7.0.
- Update handling of parameter and module name changes related to births/deaths
to arrivals/departures renames in v1.7.0. - Reduce complexity of verbose output so that it can generalize across EpiModel
extension packages. - Fix bug in
as.data.frame.dcmwhendtcontrol setting < 1.
Assets
2
smjenness
released this
NEW FEATURES
- Add
keep.tnetworkparameter tonetdxto allow for retaining the full
networkDynamicobject during dynamic network simulations. Relatedly, add
support forget_networkto extract those networks fromnetdxobjects. - Change the default handling of
as.data.framefunction for processing model
output for all three model classes (DCM, ICM, and Network Models) to generate
a stacked data frame of all simulations (instead of row means across
simulations). This is a breaking change that may require updating old code. - New
as.data.frame.netdxfunction extracts the timed edgelists directly from
anetdxobject. - The
get_nwstatsfunction now extracts data frames of network statistics from
bothnetdxandnetsimobjects.
BUG FIXES
- Improve functionality and error handling of
get_sims. - Fix problems with color handling of network statistics plots in
plot.netdx
andplot.netsim. - Enforce maximum number
ncoresargument innetdxto prevent over
parallelization of simulations. - Removed the redundant storage of the timed edgelist data in
netdxobjects. - Fix errors in calculation of population sizes in verbose module that prints
simulation output to the console.
OTHER
- Add warning for input parameter with a name
act.rate.m2for network models
inparam.net, as this is an unused parameter for built-in models. - Updated parameters and documentation throughout EpiModel for vital dynamics
parameters and processes to reflect a more general method of demographic
in-flows and out-flows from the population. Previous terms were births and
deaths; new terms are arrivals and departures. The default parameter for
births was previouslyb.rate; it is nowa.rate. Inputs of ab.rate
parameter yield a message and will automatically seta.rateto theb.rate
value. This is a breaking change that may require updating old code. - Adapted y-axis limit calculation for all stochastic plots to depend on dynamic
range of data displayed instead of full data range. - Changed the default plot type for static diagnostics in
netdx(whendynamic
is set toFALSE) to smoothed rolling averages instead of the full MCMC trace.
The trace plots may be turned back on withsim.lines = TRUE.
Assets
2
smjenness
released this
NEW FEATURES
netdxnow includes a new argument,sequential, for static diagnostics
that mirrors the same argument fromergm::simulate.ergmto simulate from
MCMC chains based on previous draws versus new draws.
BUG FIXES
- Fix
mutate_epioutput when new variable is a constant.
OTHER
- Move
ggplot2from depend to import. - References added for publication of Journal of Statistical Software methods
paper on EpiModel: Jenness SM, Goodreau SM, Morris M. EpiModel: An R Package
for Mathematical Modeling of Infectious Disease over Networks. Journal of
Statistical Software. 2018; 84(8): 1-47. DOI: 10.18637/jss.v084.i08.