addTransit | R Documentation |
To add transit compartments to the model
addTransit(
ui,
ntransit,
central = "central",
depot = "depot",
transit = "transit",
ktr = "ktr",
ka = "ka"
)
ui |
The model as a function |
ntransit |
the number of transit compartments to be added |
central |
central compartment name |
depot |
depot compartment name |
transit |
the transit compartment prefix |
ktr |
the parameter name for the transit compartment rate |
ka |
absorption rate parameter name |
a model with transit compartment added
This matches
'dose->a0->a1->abs cmt->central'
But 'a0' is depot so dosing records labeled depot do not need to be changed
The abs cmt becomes the last "transit" compartment
This is simply for convenience
Other absorption:
addWeibullAbs()
,
removeTransit()
readModelDb("PK_1cmt_des") |> addTransit(3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.