Create one or several infusion(s).
Infusion(
time,
amount,
compartment = NULL,
f = NULL,
lag = NULL,
duration = NULL,
rate = NULL,
ii = NULL,
addl = NULL,
wrap = TRUE,
ref = NULL,
rep = NULL
)
a single infusion or a list of infusions.
treatment time(s), numeric value or vector. First treatment time if used together with ii and addl.
amount to infuse, single numeric value
compartment index or name to give the infusion(s). A vector of integers or names can be used for a complex model administration.
fraction of infusion amount, list of distributions (one per compartment)
infusion lag time, , list of distributions (one per compartment)
infusion duration, list of distributions (one per compartment)
infusion rate, list of distributions (one per compartment)
inter-dose interval, requires argument 'time' to be a single numeric value
number of additional doses, requires argument 'time' to be a single integer value
if TRUE, the infusion wrapper will be stored as is in the dataset, otherwise, it will be split into a list of infusions distinct in time. Default is TRUE.
any reference name used to identify this infusion, single character value
repeat the base dosing schedule several times, a 'repeated schedule' object is expected. Default is NULL (no repetition).