expand_additional_doses {pharmr}R Documentation

expand_additional_doses

Description

Expand additional doses into separate dose records

Usage

expand_additional_doses(model, flag = FALSE)

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.

Value

(Model) Pharmpy model object


[Package pharmr version 1.0.1 Index]