saveout.icm: Save icm Data to Output List Format

View source: R/saveout.R

saveout.icmR Documentation

Save icm Data to Output List Format

Description

This function transfers the data from the main icm_dat class data object to the output out object at the end of each simulation in icm.

Usage

saveout.icm(dat, s, out = NULL)

Arguments

dat

Main icm_dat class data object passed through icm simulations.

s

Current simulation number.

out

Out list passed back in for updating at simulations 2+.

Value

A list with the following elements:

  • param: the epidemic parameters passed into the model through param.icm, with additional parameters added as necessary.

  • control: the control settings passed into the model through control.icm, with additional controls added as necessary.

  • epi: a list of data frames, one for each epidemiological output from the model.


statnet/EpiModel documentation built on March 30, 2024, 11:26 a.m.