Learn R Programming

pharmr (version 0.96.0)

add_metabolite: add_metabolite

Description

Adds a metabolite compartment to a model

The flow from the central compartment to the metabolite compartment will be unidirectional.

Usage

add_metabolite(model, drug_dvid = 1)

Value

(Model) Pharmpy model object

Arguments

model

(Model) Pharmpy model

drug_dvid

(numeric) DVID for drug (assuming all other DVIDs being for metabolites)

Examples

Run this code
if (FALSE) {
model <- load_example_model("pheno")
model <- add_metabolite(model)
}

Run the code above in your browser using DataLab