expand_additional_doses: expand_additional_doses
Description
Expand additional doses into separate dose records
Usage
expand_additional_doses(model, flag = FALSE)
Value
(Model) Pharmpy model object
Arguments
- model
(Model) Pharmpy model object
- flag
(logical) TRUE to add a boolean EXPANDED column to mark added records. In this case all
columns in the original dataset will be kept. Care needs to be taken to handle
the new dataset.