Learn R Programming

pharmr (version 0.96.0)

remove_peripheral_compartment: remove_peripheral_compartment

Description

Remove a peripheral distribution compartment from model

Initial estimates:

== =================================================== n == =================================================== 2 :math:{CL} = {CL'}, :math:{QP1} = {CL'} and :math:{VP1} = {VC'} * 0.05 3 :math:{QP1} = ({QP1'} + {QP2'}) / 2, :math:{VP1} = {VP1'} + {VP2'} == ===================================================

Usage

remove_peripheral_compartment(model)

Value

(Model) Pharmpy model object

Arguments

model

(Model) Pharmpy model

See Also

set_peripheral_compartment

add_peripheral_compartment

Examples

Run this code
if (FALSE) {
model <- load_example_model("pheno")
model <- set_peripheral_compartments(model, 2)
model <- remove_peripheral_compartment(model)
model$statements$ode_system
}

Run the code above in your browser using DataLab