View source: R/unit_conversions.r
kg.to.mol | R Documentation |
Converts mass units of a substance to the corresponding molar units and vice versa.
kg.to.mol(mass, molarMass = bigleaf.constants()$H2Omol)
mass |
Numeric vector of mass in kg |
molarMass |
Numeric vector of molar mass of the substance (kg mol-1)
e.g. as provided by |
Numeric vector of amount of substance in mol.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.