addEta {nlmixr2lib} | R Documentation |
Add random effects to a model
Description
Add random effects to a model
Usage
addEta(model, eta)
Arguments
model |
The model as a function |
eta |
vector with the parameters to add random effects (sometimes referred to as inter-individual variability, IIV) on |
Value
The model with eta added to the requested parameters
Examples
library(rxode2)
readModelDb("PK_1cmt") %>% addEta("ka")
[Package nlmixr2lib version 0.2.0 Index]