removeTransit | R Documentation |
To remove transit compartments from the model
removeTransit(
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 number of transit compartments to remove |
ktr |
the parameter name for the transit compartment rate |
ka |
absorption rate parameter name |
rxode2 model with transit compartment removed
Other absorption:
addTransit()
,
addWeibullAbs()
# In this example the transit is added and then a few are removed
readModelDb("PK_1cmt_des") |> addTransit(4) |> removeTransit(3)
readModelDb("PK_1cmt_des") |> addTransit(4) |> removeTransit()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.