has_presystemic_metabolite {pharmr}R 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)


[Package pharmr version 1.0.1 Index]