pknca_units_table() # only parameters that are unitless
pknca_units_table(
concu="ng/mL", doseu="mg/kg", amountu="mg", timeu="hr"
)
pknca_units_table(
concu="ng/mL", doseu="mg/kg", amountu="mg", timeu="hr",
# Convert clearance and volume units to more understandable units with
# automatic unit conversion
conversions=data.frame(
PPORRESU=c("(mg/kg)/(hr*ng/mL)", "(mg/kg)/(ng/mL)"),
PPSTRESU=c("mL/hr/kg", "mL/kg")
)
)
pknca_units_table(
concu="mg/L", doseu="mg/kg", amountu="mg", timeu="hr",
# Convert clearance and volume units to molar units (assuming
conversions=data.frame(
PPORRESU=c("mg/L", "(mg/kg)/(hr*ng/mL)", "(mg/kg)/(ng/mL)"),
PPSTRESU=c("mmol/L", "mL/hr/kg", "mL/kg"),
# Manual conversion of concentration units from ng/mL to mmol/L (assuming
# a molecular weight of 138.121 g/mol)
conversion_factor=c(1/138.121, NA, NA)
)
)
# This will make all time-related parameters use "day" even though the
# original units are "hr"
pknca_units_table(
concu = "ng/mL", doseu = "mg/kg", timeu = "hr", amountu = "mg",
timeu_pref = "day"
)
Run the code above in your browser using DataLab