R/helpers.R
concentration.Rd
Define a concentration object to be passed to the Rx Studio API
concentration(datetime, concentration)
datetime | date and time of the administered dose |
---|---|
concentration | Concentration (number) |
list
concentration(Sys.time(), 10) #> $DATETIME #> [1] "2021-11-26 10:34:10 UTC" #> #> $CONCENTRATION #> [1] 10 #> #> $set #> [1] "HISTCONCENTRATION" #>