Learn R Programming

pharmr (version 1.4.0)

has_presystemic_metabolite: has_presystemic_metabolite

Description

Checks whether a model has a presystemic metabolite

If pre-systemic drug there will be a flow from DEPOT to METABOLITE as well as being a flow from the CENTRAL to METABOLITE

Usage

has_presystemic_metabolite(model)

Value

(logical) Whether a model has presystemic metabolite

Arguments

model

(Model) Pharmpy model

Examples

Run this code
if (FALSE) {
model <- load_example_model("pheno")
model <- add_metabolite(model, presystemic=TRUE)
has_presystemic_metabolite(model)
}

Run the code above in your browser using DataLab