Skip to contents

Add a metabolite compartment, if requested

Usage

add_metabolite_compartment(mod, metabolite = FALSE, route)

Arguments

mod

Pharmpy model object.

metabolite

either TRUE/FALSE, or a list with elements drug_dvid (integer) and presystemic (logical). See create_model().

route

route of administration (e.g. "oral", "iv"). A presystemic metabolite cannot be combined with route = "iv".

Value

Pharmpy model object, with the metabolite compartment added if requested.