has_presystemic_metabolite: has_presystemic_metabolite

View source: R/functions_wrapper.R

has_presystemic_metaboliteR Documentation

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)

Arguments

model

(Model) Pharmpy model

Value

(logical) Whether a model has presystemic metabolite

Examples

## Not run: 
model <- load_example_model("pheno")
model <- add_metabolite(model, presystemic=TRUE)
has_presystemic_metabolite(model)

## End(Not run)


pharmpy/pharmr documentation built on Feb. 15, 2025, 3:22 a.m.