powered by
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)
(Model) Pharmpy model object
(Model) Pharmpy model
set_transit_compartments
remove_lag_time
if (FALSE) { model <- load_example_model("pheno") model <- add_lag_time(model) }
Run the code above in your browser using DataLab