Learn R Programming

pharmr (version 1.4.0)

add_effect_compartment: add_effect_compartment

Description

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)

Usage

add_effect_compartment(model, expr)

Value

(Model) Pharmpy model object

Arguments

model

(Model) Pharmpy model

expr

(str) Name of the PD effect function.

Examples

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