powered by
This function gets a model from the available model library
modellib(name = NULL, eta = NULL, reserr = NULL)
The function returns a function the model code (or NULL if the
NULL
model = NULL)
model = NULL
character with the name of the model to load (if NULL, lists all available base models)
vector with the parameters to add random effects (sometimes referred to as inter-individual variability, IIV) on
The type or types of residual error (currently "addSd", "propSd", and "lnormSd" are accepted)
"addSd"
"propSd"
"lnormSd"
This is a very first draft just to look at the proof of concept
modellib(name = "PK_1cmt") modellib(name = "PK_1cmt", eta = c("ka", "vc"), reserr = "addSd") modellib(name = "PK_1cmt", reserr = "addSd")
Run the code above in your browser using DataLab