add_lag_time {pharmr}R Documentation

add_lag_time

Description

Add lag time to the dose compartment of model.

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

Usage

add_lag_time(model)

Arguments

model

(Model) Pharmpy model

Value

(Model) Pharmpy model object

See Also

set_transit_compartments

remove_lag_time

Examples

## Not run: 
model <- load_example_model("pheno")
model <- add_lag_time(model)

## End(Not run)

[Package pharmr version 1.0.1 Index]