powered by
Add an effect compartment.
Implemented PD models are:
Linear:
(equation could not be rendered, see API doc on website)
Emax:
Step effect:
Sigmoidal:
Log-linear:
add_effect_compartment(model, expr)
(Model) Pharmpy model object
(Model) Pharmpy model
(str) Name of the PD effect function.
if (FALSE) { model <- load_example_model("pheno") model <- add_effect_compartment(model, "linear") model$statements$ode_system$find_compartment("EFFECT") }
Run the code above in your browser using DataLab