| get_param | R Documentation |
This function gets the parameter values from a NONMEM model or ext file including naming and additional variables if present
get_param(model, lstblock, ext = NULL, addparam = TRUE)
model |
character vector with the model content |
lstblock |
list with each item being a separate structured dollar block, usually obtain from |
ext |
character with the name of the NONMEM ext file (if not provided estimates are read directly from the list block) |
addparam |
logical indicating if the function should try to add parameters (besides THETAs and the ones defined in covariates) the additional parameters are always returned so it can be used for warnings |
a list with parameters, names and matrices
Richard Hooijmaijers
mod <- system.file("example_models","PK.1CMT.ORAL.COV.mod", package = "amp.sim")
mdll <- get_nmblock(mod,block=c("PK","DES"))
mdlls <- nmlistblock(mdll)
get_param(mod, mdlls)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.