write.results: Write output results to disk

Description Usage Arguments Details

View source: R/0-Functions.R

Description

Write the ouptut list to disk either under a unique .RData file or three separated files:

Usage

1
2
3
4
5
6
7
write.results(
  FinalList,
  output = ".RData",
  Simulation_Name = NULL,
  Outpath = "Outputs",
  ...
)

Arguments

FinalList

The model output list

output

Output format. Character. ".RData" if single file, or anything else for 3 separate file. Default: ".RData"

Simulation_Name

The name of the simulation. Used for the name of the outputs. Default: NULL.

Outpath

The path to the folder to write on.

...

Further parameters to pass to data.table::fwrite(). Only used if output!=".RData".

Details

To re-import the output, the user should use base::readRDS()


VEZY/DynACof documentation built on Feb. 3, 2021, 8:52 p.m.