create_dat_object: Create a Minimal netsim_dat Main List Object for a Network...

View source: R/net.helpers.R

create_dat_objectR Documentation

Create a Minimal netsim_dat Main List Object for a Network Model

Description

This 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.

Usage

create_dat_object(
  param = list(),
  init = list(),
  control = list(),
  run = list()
)

Arguments

param

An EpiModel object of class param.net.

init

An EpiModel object of class init.net.

control

An EpiModel object of class control.net.

run

A list that will contains the objects created by netsim that are required for between step communication. This list must be preserved for restarting models.

Value

A netsim_dat main list object.


statnet/EpiModel documentation built on April 26, 2024, 3:23 a.m.