WriteSimList: WriteSimList

Description Usage Arguments Value Note

View source: R/sim.R View source: R/run_sim.R

Description

Writes "sim" list to a directory,

Usage

1
WriteSimList(write, run, sim, output_dir, components)

Arguments

write

= logical, whether or not to write the sim list to a file. Default is TRUE.

run

= name of run. Default uses the name from the runs object to ensure that the proper number of leading zeros is used. If default is not use, the name will simply be: "sim_(run).RData"

sim

= a 'sim' list object

output_dir

= output directory, default is working directory

components

= components of 'sim' to write. Options include: "agents", "pars", and "spatial". Default is all.

Value

Writes a file to the output_dir

Note

NOT FINISHED - Code not implemented for writing subset of components


Blakemassey/ibmr documentation built on Dec. 25, 2021, 8:39 a.m.