kg.to.mol: Conversion between Mass and Molar Units

View source: R/unit_conversions.r

kg.to.molR Documentation

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)

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.

Value

Numeric vector of amount of substance in mol.


bigleaf documentation built on Aug. 22, 2022, 9:09 a.m.