add_pk_iiv {pharmr}R Documentation

add_pk_iiv

Description

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

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

Usage

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

Value

(Model) Pharmpy model object

See Also

add_iiv

add_iov

remove_iiv

remove_iov

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)

[Package pharmr version 0.96.0 Index]