set_first_order_absorption function

set_first_order_absorption

set_first_order_absorption

Set or change to first order absorption rate.

Initial estimate for absorption rate is set to the previous rate if available, otherwise it is set to the time of first observation/2.

If multiple doses is set to the affected compartment, currently only iv+oral doses (one of each) is supported

set_first_order_absorption(model)

Arguments

  • model: (Model) Model to set or change to use first order absorption rate

Returns

(Model) Pharmpy model object

Examples

## Not run: model <- load_example_model("pheno") model <- set_first_order_absorption(model) model$statements$ode_system ## End(Not run)

See Also

set_instantaneous_absorption

set_zero_order_absorption

  • Maintainer: Rikard Nordgren
  • License: LGPL (>= 3)
  • Last published: 2024-12-04