kg.to.mol {bigleaf}R 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.


[Package bigleaf version 0.8.2 Index]