conc2mol: Convert concentration to molar

View source: R/conc2mol.R

conc2molR Documentation

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

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

clinPK documentation built on May 29, 2024, 3:50 a.m.