Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

EpiModel v2.5.0

Latest
Compare
Choose a tag to compare
Loading
@smjennesssmjenness released this 11 Oct 18:32
· 9 commits to main since this release
c33aaa7
This commit was created on GitHub.com and signed with GitHub’sverified signature.
GPG key ID:B5690EEEBB952194
Verified
Learn about vigilant mode.

NEW FEATURES

  • Export a genericget_discordant_edgelist where the attribute used to assess discordance as well as the values for each group can be specified.
  • Exportparam.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 thesave.cumulative.edgelist control argument.
  • Restarting a simulation now only requires savingdat$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.
  • Exportget_forward_reachable andget_backward_reachable functions that works similarly to but more efficiently thantsna::tPath for multiple nodes and using cumulative edgelists.
  • Exportoverwrite_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 theplot.epi.data.frame method to plotepi.data.frame similar toplot.netsim(type = "epi").
  • Exportas.epi.data.frame that assign theepi.data.frame class and validate that the inputdata.frame is correctly formatted.

OTHER

  • Speed upraw.records andattr.history withcollections::queue instead ofbase::list.
  • Addsave.diss.stats to the checked control values. Prevents undefined values when usingcontrol.net wrappers.
  • Moveel.cuml,_last_unique_id, and_last_timestep andattr todat$run and update the tests; part of the restructuring of thedat object.
  • Removedat$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.
  • RemovedeleteAttr function deprecated since EpiModel v2.4.0.
  • All function acceptingposit_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
Loading

[8]ページ先頭

©2009-2025 Movatter.jp