addDepot | R Documentation |
To convert from infusion/intravenous administration to first-order oral absorption
addDepot(ui, central = "central", depot = "depot", ka = "ka")
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 |
a model with the depot added
# 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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.