increment_timestep: Increment the Current Timestep

View source: R/net.helpers.R

increment_timestepR Documentation

Increment the Current Timestep

Description

This function adds 1 to the timestep counter stored in the netsim_dat main list object.

Usage

increment_timestep(dat)

Arguments

dat

Main netsim_dat object containing a networkDynamic object and other initialization information passed from netsim.

Value

The updated netsim_dat main list object.

Mutability

This DOES NOT modify the netsim_dat object in place. The result must be assigned back to dat in order to be registered: dat <- increment_timestep(dat).


EpiModel documentation built on Oct. 12, 2024, 1:06 a.m.