expandTimes: Expand simulation time

View source: R/multSim.R

expandTimesR Documentation

Expand simulation time

Description

Expands all existing simulations to a longer time period

Usage

expandTimes(ms, to, filename = NULL, ...)

Arguments

ms

object of class "multSim" (with existing simulations) that shall be expanded (simulations are in ms$outputList; every NA in ms$outputList will be skipped and not simulated)

to

new stopping time, should be larger than times(ms$model)["to"]

filename

string which indicates the path where to save the result, i. e. "NameOfFile.rda". In case of a break or an error, already simulated seeds will still be saved there. If filename = NULL, the result will not be saved in a file.

...

additional parameters for method sim

Value

object of class "multSim" containing the simulations

See Also

multSim


CharlotteJana/pdmpsim documentation built on Oct. 21, 2024, 4:54 p.m.