multSim2multSimCsv: Convert 'multSim' to 'multSimCsv'

Description Usage Arguments Value

Description

Convert an object of class multSim to an object of class multSimCsv. This can be useful if it turns out that the multSim object needs to much working memory.

Usage

1
2
multSim2multSimCsv(ms, prefix = format(ms$model), append = FALSE,
  digits = NULL)

Arguments

ms

object of class multSim

prefix

string which determines the begin of all filenames that are created by the method, e.g. "NameOfModel". You can also specify a path where to save the result, e.g. "home/path/to/simulations/NameofModel".

append

logical. If there already exists a file with the same filename and append = TRUE, the simulated results will be appended at the end of the file. Otherwise an error will be thrown.

digits

integer indicating how many significant digits are to be saved in the csv files. Restricting digits can lead to smaller csv files. The default, NULL, uses getOption("digits").

Value

object of class multSimCsv providing the filenames of all csv files that contain the simulated results with corresponding LaF objects stored in element lafList.


CharlotteJana/pdmpsim documentation built on July 2, 2019, 5:37 a.m.