powered by
Multiplies epsilons with exponential (new) etas.
Initial variance for new etas is 0.09.
set_iiv_on_ruv(model, list_of_eps = NULL, same_eta = TRUE, eta_names = NULL)
(Model) Pharmpy model object
(Model) Pharmpy model to apply IIV on epsilons.
(array(str) or str (optional)) Name/names of epsilons to multiply with exponential etas. If NULL, all epsilons will be chosen. NULL is default.
(logical) 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.
(array(str) or str (optional)) Custom names of new etas. Must be equal to the number epsilons or 1 if same eta.
set_power_on_ruv
if (FALSE) { model <- load_example_model("pheno") model <- set_iiv_on_ruv(model) model$statements$find_assignment("Y") }
Run the code above in your browser using DataLab