add_lag_time function

add_lag_time

add_lag_time

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.

add_lag_time(model)

Arguments

  • model: (Model) Pharmpy model

Returns

(Model) Pharmpy model object

Examples

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

See Also

set_transit_compartments

remove_lag_time

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