Skip to contents

One dosing regimen, as a row of the app's dosing table. Combine several with c(), e.g. a loading dose followed by maintenance doses.

Usage

mvp_dose(amt, ii = 0, n = 1, start = 0, cmt = NULL, tinf = 0)

Arguments

amt

Dose amount, in the model's amount units.

ii

Dosing interval (time between doses). Needed when n > 1.

n

Total number of doses.

start

Time of the first dose.

cmt

Dosing compartment: a name or number. NULL (default) uses the model's first compartment (the depot for models with an absorption compartment, the central compartment otherwise).

tinf

Infusion duration; 0 for a bolus or oral dose.

Value

A data frame of class mvp_dose, one row per regimen.

See also

Examples

# 100 mg loading dose, then 50 mg once weekly for 12 weeks (time in hours)
c(mvp_dose(100), mvp_dose(50, ii = 168, n = 12, start = 168))
#>   amt  ii  n start  cmt tinf
#> 1 100   0  1     0 <NA>    0
#> 2  50 168 12   168 <NA>    0