set_zero_order_input {pharmr}R Documentation

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)

Arguments

model

(Model) Pharmpy model

compartment

(str) Name of the compartment

expression

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

Value

(model) Pharmpy model object

Examples

## Not run: 
model <- load_example_model("pheno")
model <- set_zero_order_input(model, "CENTRAL", 10)
get_zero_order_inputs(model)

## End(Not run)


[Package pharmr version 1.0.1 Index]