addEta | R Documentation |
Add random effects to a model
addEta(
ui,
eta,
priorName = getOption("nlmixr2lib.priorEta", TRUE),
etaCombineType = c("default", "snake", "camel", "dot", "blank")
)
ui |
The model as a function |
eta |
vector with the parameters to add random effects (sometimes referred to as inter-individual variability, IIV) on |
priorName |
logical, if TRUE, the parameter name specified in 'eta' will be used to add the eta value prior name is used instead of the left handed side of the equation. |
etaCombineType |
the option for the how to combine the eta with the parameter name. Can be: "default", "snake", "camel", "dot", "blank" |
The model with eta added to the requested parameters
Bill Denney, Richard Hooijmaijers & Matthew L. Fidler
library(rxode2)
readModelDb("PK_1cmt") |> addEta("ka")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.