getSimInfo: Get Simulation Information.

Description Usage Arguments Value Note Author(s)

View source: R/retrieveMisc.R

Description

Extract simulation information from a simulation problem

Usage

1
getSimInfo(obj, problemNum = 1, addRawInfo = TRUE)

Arguments

obj

An object of class NMRun, NMSimDataGen, or NMSimModel

problemNum

Number of problem (applicable only when obj is of class NMRun)

addRawInfo

Should the raw contents of the $SIM statement be added to the returned information?

Value

A numeric vector with 3 entries : numSimulations, seed1, and seed2. These are self-explanatory.

Note

If addRawInfo is TRUE, the returned result will have an attribute named "rawStatement" that will have the text of the control stream $SIM field.

Author(s)

Mango Solutions


RNMImport documentation built on May 2, 2019, 5:21 p.m.