Changes the current timestep in the dat
object. Use with
caution. This function exists to work around unforeseen corner
cases. In most situation, increment_timestep
is
preferred.
set_current_timestep(dat, timestep)
The updated dat
main list object.
Main list object containing a networkDynamic
object and
other initialization information passed from netsim
.
The new value for the timestep.
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)
.