Import model estimates from a NONMEM ext file
Usage
nmext(
run = NA_real_,
project = getwd(),
file = paste0(run, ".ext"),
path = NULL,
root = c("working", "cppfile"),
index = "last",
theta = TRUE,
omega = TRUE,
sigma = TRUE,
olabels = NULL,
slabels = NULL,
oprefix = "",
sprefix = "",
tname = "THETA",
oname = "...",
sname = "...",
read_fun = "data.table",
env = NULL
)Arguments
- run
run number.
- project
project directory.
- file
deprecated; use
pathinstead.- path
full path to NONMEM
extfile.- root
the directory that
pathandprojectare relative to; this is currently limited to theworkingdirectory orcppdir, the directory where the model file is located.- index
the estimation number to return; "last" will return the last estimation results; otherwise, pass an integer indicating which estimation results to return.
- theta
logical; if TRUE, the
$THETAvector is returned.- omega
logical; if TRUE, the
$OMEGAmatrix is returned.- sigma
logical; if TRUE, the
$SIGMAmatrix is returned.- olabels
labels for
$OMEGA.- slabels
labels for
$SIGMA.- oprefix
prefix for
$OMEGAlabels.- sprefix
prefix for
$SIGMAlabels.- tname
name for
$THETA.- oname
name for
$OMEGA.- sname
name for
$SIGMA.- read_fun
function to use when reading the
extfile.- env
internal use only.