Learn R Programming

EpiModel (version 2.3.2)

increment_timestep: Increment the Current Timestep

Description

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

Usage

increment_timestep(dat)

Value

The updated dat main list object.

Arguments

dat

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

Mutability

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