modelUnitConversion {babelmixr2}R Documentation

Unit conversion for pharmacokinetic models

Description

Unit conversion for pharmacokinetic models

Usage

modelUnitConversion(
  dvu = NA_character_,
  amtu = NA_character_,
  timeu = NA_character_,
  volumeu = NA_character_
)

Arguments

dvu, amtu, timeu

The units for the DV, AMT, and TIME columns in the data

volumeu

The units for the volume parameters in the model

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")

[Package babelmixr2 version 0.1.2 Index]