addDepot: To convert from infusion/intravenous administration to...

View source: R/addDepot.R

addDepotR Documentation

To convert from infusion/intravenous administration to first-order oral absorption

Description

To convert from infusion/intravenous administration to first-order oral absorption

Usage

addDepot(ui, central = "central", depot = "depot", ka = "ka")

Arguments

ui

The model as a function (or something convertible to an rxUi object)

central

central compartment name

depot

depot compartment name

ka

absorption rate parameter name

Value

a model with the depot added

Examples

# most of the examples in the model library already have a depot
# the PK_2cmt_no_depot is an exception
readModelDb("PK_2cmt_no_depot")  |> addDepot()

nlmixr2lib documentation built on Oct. 7, 2024, 5:08 p.m.