Learn R Programming

clinPK (version 0.13.0)

conc2mol: Convert concentration to molar

Description

Convert concentration to molar

Usage

conc2mol(conc = NULL, unit_conc = NULL, mol_weight = NULL, unit_mol = NULL)

Arguments

conc

concentration in e.g. g/L

unit_conc,

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

unit_mol

one of `mol/L`, `mmol/mL`, `mmol/L`

Examples

Run this code
conc2mol(100, unit_conc = "g/l", mol_weight = 180.15588)

Run the code above in your browser using DataLab