Define a dosing regimen object to be passed to the Rx Studio API
regimen(dose, interval = NULL, tinf = NULL, type = c("REGIMEN", "ORALREGIMEN"))
dose | Dose Amount (number in mg) |
---|---|
interval | optional Dosing Interval (number in hours) |
tinf | optional Infusion Time (number in hours) |
type | Regimen type, e.g. |
list
regimen(2000) #> $DOSE #> [1] 2000 #> #> $set #> [1] "REGIMEN" #> regimen(2000, 8, 2) #> $DOSE #> [1] 2000 #> #> $INTERVAL #> [1] 8 #> #> $TINF #> [1] 2 #> #> $set #> [1] "REGIMEN" #> regimen(2000, 12, type = 'ORALREGIMEN') #> $DOSE #> [1] 2000 #> #> $INTERVAL #> [1] 12 #> #> $set #> [1] "ORALREGIMEN" #>