Create a Minimal netsim_dat Main List Object for a Network Model
Source:R/net.helpers.R
create_dat_object.RdThis helper function populates a netsim_dat main list
object with the minimal required elements. All parameters are
optional. When none are given the resulting object is only a
shell list of class netsim_dat with the different named
elements defined as empty lists.
Arguments
- param
An
EpiModelobject of classparam.net.- init
An
EpiModelobject of classinit.net.- control
An
EpiModelobject of classcontrol.net.- run
A
listthat will contains the objects created bynetsimthat are required for between step communication. This list must be preserved for restarting models.