addCmtProp {nlmixr2lib} | R Documentation |
Add a property to a compartment
Description
Add a property to a compartment
Usage
addCmtProp(ui, prop = c("f", "lag", "dur", "rate", "ini"), cmt)
addBioavailability(ui, cmt)
addLag(ui, cmt)
addDur(ui, cmt)
addRate(ui, cmt)
addIni(ui, cmt)
Arguments
ui |
rxode2 ui object |
prop |
property to add to a compartment: - - - - - |
cmt |
compartment to apply the property to |
Value
rxode2 ui object with property applied
Functions
-
addBioavailability()
: Adds the bioavailability to a compartment in the model -
addLag()
: Adds the lag-time to a compartment in the model -
addDur()
: Adds the modeled duration to a compartment in the model -
addRate()
: Adds the modeled rate to a compartment in the model -
addIni()
: Adds the initial value to the compartment
Author(s)
Matthew L. Fidler
Examples
readModelDb("PK_3cmt_des") |> addCmtProp("f", "depot")
readModelDb("PK_3cmt_des") |> addBioavailability(depot)
readModelDb("PK_3cmt_des") |> addLag(depot)
readModelDb("PK_3cmt_des") |> addDur(depot)
readModelDb("PK_3cmt_des") |> addRate(depot)
readModelDb("PK_3cmt_des") |> addIni(depot)
[Package nlmixr2lib version 0.3.0 Index]