add_pd_iiv function

add_pd_iiv

add_pd_iiv

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

add_pd_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_direct_effect(model, 'emax') model$statements$find_assignment("EC_50") model <- add_pd_iiv(model) model$statements$find_assignment("EC_50") ## End(Not run)

See Also

add_iiv

add_iov

remove_iiv

remove_iov

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