apply_duration_scale: Apply infusion duration scale to a regimen

View source: R/apply_duration_scale.R

apply_duration_scaleR Documentation

Apply infusion duration scale to a regimen

Description

E.g. see Centanni et al. Clin Pharmacokinet 2024. An estimated scaling factor for the length of the infusion was applied there in a model for vincristine. This is likely most relevant for very short infusions.

Usage

apply_duration_scale(
  regimen,
  duration_scale = NULL,
  parameters = NULL,
  cmt_mapping = NULL
)

Arguments

regimen

PKPDsim regimen

duration_scale

infusion length scale.

parameters

parameter list, required if the duration scale is specified as a parameter.

cmt_mapping

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

Details

Implementation is similar to handling of 'lagtime', i.e. the regimen that is the input for the simulation function is updated.

Value

Original regimen with infusion lengths scaled by a factor


InsightRX/PKPDsim documentation built on April 25, 2024, 2:10 a.m.