modellib {nlmixr2lib} | R Documentation |
This function gets a model from the available model library
modellib(name = NULL, eta = NULL, reserr = NULL)
name |
character with the name of the model to load (if |
eta |
vector with the parameters to add random effects (sometimes referred to as inter-individual variability, IIV) on |
reserr |
The type or types of residual error (currently
|
This is a very first draft just to look at the proof of concept
The function returns a function the model code (or NULL
if the
model = NULL
)
modellib(name = "PK_1cmt")
modellib(name = "PK_1cmt", eta = c("ka", "vc"), reserr = "addSd")
modellib(name = "PK_1cmt", reserr = "addSd")