View source: R/functions_wrapper.R
add_peripheral_compartment | R Documentation |
Add a peripheral distribution compartment to model
The rate of flow from the central to the peripheral compartment will be parameterized as QPn / VC where VC is the volume of the central compartment. The rate of flow from the peripheral to the central compartment will be parameterized as QPn / VPn where VPn is the volumne of the added peripheral compartment.
If name is set, the peripheral compartment will be added to the compartment with the specified name instead.
Initial estimates:
== =================================================== n == =================================================== 1 (equation could not be rendered, see API doc on website) 2 (equation could not be rendered, see API doc on website) == ===================================================
add_peripheral_compartment(model, name = NULL)
model |
(Model) Pharmpy model |
name |
(str (optional)) Name of compartment to add peripheral to. |
(Model) Pharmpy model object
set_peripheral_compartment
remove_peripheral_compartment
## Not run:
model <- load_example_model("pheno")
model <- add_peripheral_compartment(model)
model$statements$ode_system
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.