set_iiv_on_ruv {pharmr} | R Documentation |
set_iiv_on_ruv
Description
Multiplies epsilons with exponential (new) etas.
Initial variance for new etas is 0.09.
Usage
set_iiv_on_ruv(
model,
dv = NULL,
list_of_eps = NULL,
same_eta = TRUE,
eta_names = NULL
)
Arguments
model |
(Model) Pharmpy model to apply IIV on epsilons. |
dv |
(str or Expr or numeric (optional)) Name/names of epsilons to multiply with exponential etas. If NULL, all epsilons will be chosen. NULL is default. |
list_of_eps |
(array(str) or str (optional)) Boolean of whether all RUVs from input should use the same new ETA or if one ETA should be created for each RUV. TRUE is default. |
same_eta |
(logical) Custom names of new etas. Must be equal to the number epsilons or 1 if same eta. |
eta_names |
(array(str) or str (optional)) Name or DVID of dependent variable. NULL for the default (first or only) |
Value
(Model) Pharmpy model object
See Also
set_power_on_ruv
Examples
## Not run:
model <- load_example_model("pheno")
model <- set_iiv_on_ruv(model)
model$statements$find_assignment("Y")
## End(Not run)
[Package pharmr version 1.0.1 Index]