add_pk_iiv function

add_pk_iiv

add_pk_iiv

Adds IIVs to all PK parameters in :class:pharmpy.model.

Will add exponential IIVs to all parameters that are included in the ODE.

add_pk_iiv(model, initial_estimate = 0.09)

Arguments

  • model: (Model) Pharmpy model to add new IIVs to.
  • initial_estimate: (numeric) Value of initial estimate of parameter. Default is 0.09

Returns

(Model) Pharmpy model object

Examples

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

See Also

add_iiv

add_iov

remove_iiv

remove_iov

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