getFileinfo: Various miscellaneous "getter"/extractor functions

Description Usage Arguments Value Author(s)

Description

getFileinfo gets information about the report and control files, getControlStatements extracts parsed control file statements as a list, getControltext extracts raw control file text, getReporttext extracts raw report file text, getNmVersion returns information about the NONMEM version used to create a run or problem. getSimInfo retrieves simulation information (number of simulations, seeds) from a simulation problem.

Usage

1
2
3
4
5
6
7
 		getFileinfo(run)
 		getControlStatements(obj, ...)
 		getControltext(run)
 		getReporttext(run)
 		getNmVersion(obj)
 		getSimInfo(obj, problemNum = 1, addRawInfo = TRUE)
	

Arguments

run

An object of class NMRun

obj

An object of class NMRun, or one that extends NMProblem (for getSimInfo, should be a problem with simulation step)

problemNum

[N,1] Number of the problem if obj is a run

addRawInfo

[L,1] Should the raw contents of the $SIM statement be added to the returned information?

...

If used on an NMRun object, should be problemNum

Value

getFileInfo: A data.frame holding information about the source file of the NONMEM run, and the report. getControlStatements: The parsed control file statements corresponding to a particular NONMEM problem. getControltext, getReporttext: The raw text of a control file that generated a run, or the report file that was produced respectively. getNmVersion: Named character vector with NONMEM major and minor versions. getSimInfo A numeric vector with 3 entries : numSimulations, seed1, and seed2. These are self-explanatory. 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 <support@mango-solutions.com>


MangoTheCat/RNMImport documentation built on May 8, 2019, 4:36 p.m.