Description Usage Arguments Value Note Author(s) Examples
Parses a NONMEM control file, and returns its contents as a list of parsed elements. These elements will correspond to the actual control statements, e.g. $PK, $THETA, $PROBLEM, etc. Some of the elements are kept as pure text.
1 | importNmMod(fileName, path, version="VI", textReport=FALSE)
|
fileName |
File name name of the control file |
path |
(optional) path to the control file, can be a stored path enclosed in round brackets |
version |
NONMEM version that the control file targets. Currently, "VII" or "7" denotes NONMEM 7, and other values are not differentiated |
textReport |
Logical flag. If TRUE, a message regarding which file is being imported will be logged. |
A list with parsed components of the control file. This will be of class nmModel
.
An execption will be generated if $PRIOR NWPRI is found in a control file and NONMEM version VII was used. If the control file is empty, an exception will also be generated.
Mango Solutions
1 2 3 4 5 | ## Not run:
conContents <- importNmMod(file = "theoph.con", path = "examples/theoph")
print(conContents)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.