set_current_timestep | R Documentation |
Changes the current timestep in the netsim_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)
dat |
Main |
timestep |
The new value for the timestep. |
The updated netsim_dat
main list object.
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)
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.