Add an effect compartment.
Implemented PD models are:
Linear:
(equation could not be rendered, see API doc on website)
Emax:
(equation could not be rendered, see API doc on website)
Step effect:
(equation could not be rendered, see API doc on website)
Sigmoidal:
(equation could not be rendered, see API doc on website)
Log-linear:
(equation could not be rendered, see API doc on website)
(equation could not be rendered, see API doc on website)
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