Unit conversion for pharmacokinetic models
Usage
modelUnitConversion(
dvu = NA_character_,
amtu = NA_character_,
timeu = NA_character_,
volumeu = NA_character_
)
Value
A list with names for the units associated with each parameter
("amtu", "clearanceu", "volumeu", "timeu", "dvu") and the numeric value to
multiply the modeled estimate (for example, cp
) so that the model is
consistent with the data units.
See also
Other Unit conversion:
simplifyUnit()
Examples
modelUnitConversion(dvu = "ng/mL", amtu = "mg", timeu = "hr", volumeu = "L")
#> Loading required namespace: testthat
#> $amtu
#> [1] "mg"
#>
#> $clearanceu
#> [1] "L/h"
#>
#> $volumeu
#> [1] "L"
#>
#> $timeu
#> [1] "hr"
#>
#> $dvu
#> [1] "ng/mL"
#>
#> $cmtu
#> [1] "mg/L"
#>
#> $dvConversion
#> [1] 1000
#>