saveout.dcm {EpiModel} | R Documentation |
Save dcm Data to Output List Format
Description
This function transfers the data from the main df
object to the output out
object at the end of each
run in dcm
.
Usage
saveout.dcm(df, s, param, control, out = NULL)
Arguments
df |
Main object in |
s |
Current run number. |
param |
Param list set in |
control |
Control list set in |
out |
Out list passed back in for updating at runs 2+. |
Value
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.
[Package EpiModel version 2.4.0 Index]