Restore the simulation state from a previous checkpoint. The state of passed events and variables is overwritten to match the state they had when the simulation was checkpointed. Returns the time step at which the simulation should resume.
restore_state(state, variables, events, restore_random_state)
the simulation state to restore, as returned by restore_state
.
the list of Variables
the list of Events
if TRUE, restore R's global random number generator's state from the checkpoint.