UnitUrine: Retuns a conversion factor for the amount calculation from...

View source: R/UnitUrine.R

UnitUrineR Documentation

Retuns a conversion factor for the amount calculation from urine concentration and volume

Description

You can get a conversion factor for the multiplication: conc * vol * factor = amount in the given unit.

Usage

UnitUrine(conU = "ng/mL", volU = "mL", amtU = "mg", MW = 0)

Arguments

conU

concentration unit

volU

volume unit

amtU

amount unit

MW

molecular weight

Value

Factor

conversion factor for multiplication with the unit in name

Author(s)

Kyun-Seop Bae <k@acr.kr>

Examples

UnitUrine()
UnitUrine("ng/mL", "mL", "mg")
UnitUrine("ug/L", "mL", "mg")
UnitUrine("ug/L", "L", "mg")

UnitUrine("ng/mL", "mL", "g")

UnitUrine("ng/mL", "mL", "mol", MW=500)
UnitUrine("ng/mL", "mL", "mmol", MW=500)
UnitUrine("ng/mL", "mL", "umol", MW=500)

NonCompart documentation built on Nov. 15, 2023, 9:06 a.m.