Learn R Programming

EpiModel (version 2.2.0)

set_current_timestep: Sets the Current Timestep

Description

Changes the current timestep in the dat object. Use with caution. This function exists to workaround unforseen corner cases. In most situation, increment_timestep should be prefered

Usage

set_current_timestep(dat, timestep)

Arguments

dat

a Master list object of network models

timestep

the new value for the timestep

Value

A dat Master list object

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)