NMSimModel-class: Class "NMSimModel"

Description Objects from the Class Slots Extends Methods Author(s) Examples

Description

This class holds the results of NONMEM problems that both simulate data and fit the model during each simulation (that is, models with a $SIM statement in the control file but no "ONLY" keyword).

Objects from the Class

Objects can be created by calls of the form new("NMSimModel", ...). There is also an internal constructor NMSimModel, but it is not meant to be called directly. Most of the time, instances of this class will be created when importing a run via importNm.

Slots

numSimulations:

Object of class "numeric". Number of simulations generated

thetaFinal:

Object of class "matrix". Final estimates of the "thetas", stored as a matrix with one row for each simulation

objectiveFinal:

Object of class "numeric". Vector of final values of the objective functions.

omegaFinal:

Object of class "array". Final estimates of the "omegas", stored as a 3-d array with one matrix for each simulation.

sigmaFinal:

Object of class "array". Final estimates of the "sigmas", stored as a 3-d array with one matrix for each simulation.

thetaInitial:

Object of class "vector". Initial values of thetas

omegaInitial:

Object of class "matrix". Initial values of omegas

sigmaInitial:

Object of class "matrix". Initial values of sigmas

seeds:

Object of class "numeric". Values of seeds used for random-number generation

Extends

Class "NMProblem", directly.

Methods

getObjective

signature(obj = "NMSimModel"): ...

getOmegas

signature(obj = "NMSimModel"): Retrieves the omega estimates for the simulation number

getSigmas

signature(obj = "NMSimModel"): Retrieves the sigma estimates for the simulation number

getThetas

signature(obj = "NMSimModel"): Retrieves the theta estimates for the simulation number

addDerivedCategorical

signature(obj = "NMSimModel"): Create user-defined categorical variables

imposeCategoryFormat

signature(obj = "NMSimModel"): Coerces variables to categories

nmData

signature(obj = "NMSimModel"): Extracts NONMEM data. A parameter stackInput is also available. If TRUE, will cause input to be "stacked" enough times that it matches the size of the output.

show

signature(object = "NMSimModel"): ...

getSimInfo

signature(obj = "NMSimModel"): Get Simulation Information

Author(s)

Mango Solutions

Examples

1
	showClass("NMSimModel")

MangoTheCat/RNMImport documentation built on Aug. 5, 2018, 4:09 p.m.