predict method to apply pk model piecewise to infusion schedule
predict_pkmod_Rcpp(
object,
...,
inf,
tms = NULL,
dtm = 1/6,
return_init = FALSE,
remove_bounds = TRUE
)
Matrix of predicted concentrations associated with a pkmod object and and infusion schedule.
An object with class pkmod.
Arguments passed on to pkmod
An infusion schedule object with columns "begin","end","infrt".
Times to evaluate predictions at. Will default to a sequence spanning the infusions at intervals of dtm.
Interval used for prediction if argument tms is unspecified.
Logical indicating if concentrations at time 0 should be returned. Defaults to FALSE.
Logical, indicating if concentrations calculated at changes in infusion rates should be returned if not included in prediction times. Defaults to TRUE, so that only concentrations at specified times are returned.