addInfusion.Rd
Allows user to switch any dosing compartment to infusion
addInfusion(
.Object,
doseCptName,
isDuration = FALSE,
isSecondDose = FALSE,
colName = NULL
)
Model object
Name of the compartment to which the dose is administered
Set TRUE
if duration is used to specify infusion information
Set TRUE
if doseCptName is specified in the model through dosepoint2 statement
Name of the input data column that represents the corresponding infusion rate. If not provided, colName
must be mapped through colMapping()
.
if (FALSE) {
newModel <- addInfusion(model, "A1", FALSE, FALSE, "A1_1")
}