add_effect_compartment {pharmr}R Documentation

add_effect_compartment

Description

Add an effect compartment.

Implemented PD models are:

(equation could not be rendered, see API doc on website)

(equation could not be rendered, see API doc on website)

(equation could not be rendered, see API doc on website)

(equation could not be rendered, see API doc on website)

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

Arguments

model

(Model) Pharmpy model

expr

(str) Name of the PD effect function.

Value

(Model) Pharmpy model object

Examples

## Not run: 
model <- load_example_model("pheno")
model <- add_effect_compartment(model, "linear")
model$statements$ode_system$find_compartment("EFFECT")

## End(Not run)


[Package pharmr version 1.0.1 Index]