remove_peripheral_compartment {pharmr} | R Documentation |
remove_peripheral_compartment
Description
Remove a peripheral distribution compartment from model
If name is set, a peripheral compartment will be removed from the compartment with the specified name.
Initial estimates:
== =================================================== n == =================================================== 2 (equation could not be rendered, see API doc on website) 3 (equation could not be rendered, see API doc on website) == ===================================================
Usage
remove_peripheral_compartment(model, name = NULL)
Arguments
model |
(Model) Pharmpy model |
name |
(str) Name of compartment to remove peripheral compartment from. |
Value
(Model) Pharmpy model object
See Also
set_peripheral_compartment
add_peripheral_compartment
Examples
## Not run:
model <- load_example_model("pheno")
model <- set_peripheral_compartments(model, 2)
model <- remove_peripheral_compartment(model)
model$statements$ode_system
## End(Not run)
[Package pharmr version 1.0.1 Index]