Learn R Programming

pharmr (version 0.96.0)

set_iiv_on_ruv: 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, list_of_eps = NULL, same_eta = TRUE, eta_names = NULL)

Value

(Model) Pharmpy model object

Arguments

model

(Model) Pharmpy model to apply IIV on epsilons.

list_of_eps

(array(str) or str (optional)) Name/names of epsilons to multiply with exponential etas. If NULL, all epsilons will be chosen. NULL is default.

same_eta

(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.

eta_names

(array(str) or str (optional)) Custom names of new etas. Must be equal to the number epsilons or 1 if same eta.

See Also

set_power_on_ruv

Examples

Run this code
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