This function transfers the data from the main df
object to the output out object at the end of each
run in dcm.
saveout.dcm(df, s, param, control, out = NULL)A list with the following elements:
param: the epidemic parameters passed into the model through
param.dcm, with additional parameters added as
necessary.
control: the control settings passed into the model through
control.dcm, with additional controls added as
necessary.
epi: a list of data frames, one for each epidemiological output from the model.
Main object in dcm simulations.
Current run number.
Param list set in param.dcm.
Control list set in control.dcm.
Out list passed back in for updating at runs 2+.