| NMreadExt | R Documentation |
Read information from Nonmem ext files
NMreadExt(
file,
return,
as.fun,
modelname,
col.model,
auto.ext,
tableno = "max",
file.ext,
slow
)
file |
Path to the ext file |
return |
The .ext file contains both final parameter
estimates and iterations of the estimates. If
|
as.fun |
The default is to return data as a |
modelname |
See '?NMscanData' |
col.model |
See '?NMscanData' |
auto.ext |
If 'TRUE' (default) the extension will
automatically be modified using |
tableno |
In case the ext file contains multiple tables, this argument controls which one to choose. The options are
|
file.ext |
Deprecated. Please use |
slow |
Use a slow but more robust method to read tables? If missing or 'NULL', the fast method will be tried first, and if any issues are seen, the method will switch to 'slow=TRUE'. If 'FALSE',it will also switch in case of issues, but a warning is issued. In other words, it should be safe to not use this argument. |
The parameter table returned if return="pars" or
return="all" will contain columns based on the Nonmem
7.5 manual. It defines codes for different parameter-level
values. They are:
-1e+09: se
-1000000002: eigCor
-1000000003: cond
-1000000004: stdDevCor
-1000000005: seStdDevCor
-1000000006: FIX
-1000000007: termStat
-1000000008: partLik
The parameter name is in the parameter column. The
"parameter type", like "THETA", "OMEGA", "SIGMA" are available in
the par.type column. Counters are available in i and
j columns. j will be NA for
par.type=="THETA"
The objective function value is included as a parameter.
Notice that in case multiple tables are available in the 'ext'
file, the column names are taken from the first table. E.g., in
case of SAEM/IMP estimation, the objective function values will be
in the SAEMOBJ column, even for the IMP step. This may change in
the future.
If return="all", a list with a final parameter
table and a table of the iterations. If return="pars",
only the parameter table, and if return="iterations"
only the iterations table. If you need both, it may be more
efficient to only read the file once and use
return="all". Often, only one of the two are needed,
and it more convenient to just extract one.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.