- Notifications
You must be signed in to change notification settings - Fork60
Compare
Could not load tags
Nothing to show
{{ refName }}defaultLoading
NEW FEATURES
- Export a generic
get_discordant_edgelist
where the attribute used to assess discordance as well as the values for each group can be specified. - Export
param.net_from_table
andparam.net_to_table
helper functions to convert parameter list and parameter data.frames used byparam.net
. - Allow saving the cumulative edge-list at the end of simulation using the
save.cumulative.edgelist
control argument. - Restarting a simulation now only requires saving
dat$run
. This removes the need to keep track of all the elements required at the end of a simulation. This requires the EpiModel user to put all elements indat$run
. - Export
get_forward_reachable
andget_backward_reachable
functions that works similarly to but more efficiently thantsna::tPath
for multiple nodes and using cumulative edgelists. - Export
overwrite_attrs
, a helper function to overwrite the attributes of the nodes with adata.frame
at the start of the simulation. (see?overwrite_attrs
). as.data.frame
for model classesnetsim
andicm
now assign theepi.data.frame
class in addition todata.frame
.- Add the
plot.epi.data.frame
method to plotepi.data.frame
similar toplot.netsim(type = "epi")
. - Export
as.epi.data.frame
that assign theepi.data.frame
class and validate that the inputdata.frame
is correctly formatted.
OTHER
- Speed up
raw.records
andattr.history
withcollections::queue
instead ofbase::list
. - Add
save.diss.stats
to the checked control values. Prevents undefined values when usingcontrol.net
wrappers. - Move
el.cuml
,_last_unique_id
, and_last_timestep
andattr
todat$run
and update the tests; part of the restructuring of thedat
object. - Remove
dat$epi$sim.num(.g2)
and replace it withdat$run$num(.g2)
(single value). These values keep track of the current size of the network and are only needed during model runs. - Speed up cumulative edge-list calculation by splitting current and historic edges.
- Remove
deleteAttr
function deprecated since EpiModel v2.4.0. - All function accepting
posit_ids
as argument must now pass exclusively a numeric vector. Logical vectors are not accepted anymore as they were making the code heavier and were error prone. ergm.ego
is now a suggestion to shorten the dependency chain. It needs to be installed separately to usenetest
with anegor
object.
Assets2
Uh oh!
There was an error while loading.Please reload this page.