Skip to contents

Apply lagtime to a regimen

Usage

apply_lagtime(regimen, lagtime, parameters, cmt_mapping = NULL)

Arguments

regimen

PKPDsim regimen

lagtime

lagtime object, either single value / parameter name or vector of values/parameter names for all compartments.

parameters

parameter list, required if parameters are specified.

cmt_mapping

map of administration types to compartments, e.g. list("oral" = 1, "infusion" = 2, "bolus" = 2).

Value

Original regimen with lagtime added to dose times