kg.to.mol: Conversion between Mass and Molar Units
Description
Converts mass units of a substance to the corresponding molar units
and vice versa.
Usage
kg.to.mol(mass, molarMass = bigleaf.constants()$H2Omol)
Value
Numeric vector of amount of substance in mol.
Arguments
- mass
Numeric vector of mass in kg
- molarMass
Numeric vector of molar mass of the substance (kg mol-1)
e.g. as provided by bigleaf.constants
()$H2Omol
Default is molar mass of Water.