| read_nmext | R Documentation | 
This function retrieves NONMEM estimates for use in the mrgsolve model when
$NMEXT is invoked. See nmext().
read_nmext(
  run = NA_real_,
  project = getwd(),
  file = paste0(run, ".ext"),
  path = NULL,
  read_fun = c("data.table", "read.table"),
  index = "last"
)
run | 
 a run number or run identifier.  | 
project | 
 the NONMEM project directory.  | 
file | 
 the   | 
path | 
 full path and file name for   | 
read_fun | 
 function to read the   | 
index | 
 selects the table number whose results will be returned;
use value "last" to select the last table in the   | 
A list with param, omega, and sigma in a format ready to be used to update a model object.
project <- system.file("nonmem", package = "mrgsolve")
est <- read_nmext(1005, project = project)
est$param
est$omega
est$sigma
est <- read_nmext(2005, project = project, index = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.