mol2conc {clinPK}R Documentation

Convert molar to concentration

Description

Convert molar to concentration

Usage

mol2conc(mol = NULL, unit_mol = NULL, unit_conc = NULL, mol_weight = NULL)

Arguments

mol

concentration in molars

unit_mol

unit of input concentration (molar), one of 'mol/L', 'mmol/mL', 'mmol/L'

unit_conc

output unit, one of 'g/l', 'mg/l', 'microg/l', 'mcg/l", 'ng/l', 'mg/ml', 'microg/ml', 'mcg/ml', 'ng/ml'

mol_weight

concentration in g/mol

Examples

mol2conc(1, unit_mol = "mmol/l", mol_weight = 180)

[Package clinPK version 0.13.0 Index]