add_time_after_dose#
- pharmpy.modeling.add_time_after_dose(model)[source]#
Calculate and add a TAD column to the dataset
- Parameters:
model (Model) – Pharmpy model
- Returns:
Model – Pharmpy model object
Examples
>>> from pharmpy.modeling import load_example_model, add_time_after_dose >>> model = load_example_model("pheno") >>> model = add_time_after_dose(model)