apply_lagtime: Apply lagtime to a regimen

View source: R/apply_lagtime.R

apply_lagtimeR Documentation

Apply lagtime to a regimen

Description

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


PKPDsim documentation built on March 7, 2023, 5:40 p.m.