run_resumable_simulation.Rd
this function accepts an initial simulation state as an argument, and returns the final state after running all of its timesteps. This allows one run to be resumed, possibly having changed some of the parameters.
run_resumable_simulation(
timesteps,
parameters = NULL,
correlations = NULL,
initial_state = NULL,
restore_random_state = FALSE
)
a list with two entries, one for the dataframe of results and one for the final simulation state.