removeSeeds: Remove not simulated seeds

Description Usage Arguments Value Examples

Description

If a simulation via multSim has been interrupted, slot outputList of the returned multSim object contains NAs. Method removeSeeds removes these NA entries and changes all other slots accordingly. This method is used internally for other calculation methods as e.g. mean.

Usage

1

Arguments

ms

object of class multSim

Value

object of class multSim that does not contain NAs in slot outputList

Examples

1
2
3
4
data(simplePdmp)
setTimeLimit(cpu = 2)
ms <- multSim(simplePdmp, seeds = 1:100)
removeSeeds(ms)

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