add_pd_iiv {pharmr}R Documentation

add_pd_iiv

Description

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

Usage

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

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

## End(Not run)

[Package pharmr version 1.0.1 Index]