Learn R Programming

pharmr (version 1.4.0)

set_zero_order_input: set_zero_order_input

Description

Set a zero order input for the ode system

If the zero order input is already set it will be updated.

Usage

set_zero_order_input(model, compartment, expression)

Value

(model) Pharmpy model object

Arguments

model

(Model) Pharmpy model

compartment

(str) Name of the compartment

expression

(numeric or str or Expr) The expression of the zero order input

Examples

Run this code
if (FALSE) {
model <- load_example_model("pheno")
model <- set_zero_order_input(model, "CENTRAL", 10)
get_zero_order_inputs(model)
}

Run the code above in your browser using DataLab