Description Usage Arguments Value Note Author(s) Examples
A generic function that extracts theta estimates (and initial estimates and standard errors if specified) from a NONMEM object.
1 | getThetas(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 |
Vector of methods to extract when dealing with NONMEM 7 problems |
problemNum |
Number of problem to use - applies to NMRun only |
A matrix of named rows for final estimates, initial estimates, standard errors etc. as applicable, or a list of matrices if multiple methods are chosen in NONMEM 7
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.