Description Usage Arguments Value Note Author(s) Examples
A generic function that extracts sigma estimates (and initial estimates and standard errors if specified) from a NONMEM object. Shrinkage values may also be retrieved for NONMEM 7 objects.
1 | getSigmas(obj, what="final", subProblemNum=1, method=1, problemNum=1)
|
obj |
An object of class NMBasicModel, NMRun, NMSimModel, NMBasicModelNM7, NMSimModelNM7, or nmModel |
what |
Character vector of items to extract. One or more of "final", "stderrors" or "initial" (or "shrinkage" for NONMEM 7 basic models) |
subProblemNum |
Numeric vector of simulation sub-problems to use. Only applies to simulation models |
method |
Numeric vector of methods to extract when dealing with NONMEM 7 problems |
problemNum |
Number of problem to reference - applies to runs only |
For NONMEM 6 - either a list of matrices if multiple "what=" are used, or a single matrix otherwise For NONMEM 7 - The same as above for a single method. If multiple methods, a list of lists or a list of matrices
Invalid what
elements are simply ignored.
Mango Solutions
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.