calc_mass: Calculate the mass of a substance containing a specified...

View source: R/calc_mass.R

calc_massR Documentation

Calculate the mass of a substance containing a specified number of moles.

Description

Calculates the mass of a specified substance in grams that will contain the specified number of moles.

Usage

calc_mass(substance, val, u = "mol")

Arguments

substance

Enter the common name of the chemical compound or substance.

val

The number of moles.

u

The unit, select from "mol", "umol", "nmol", "pmol", "fmol" with default set to moles.

Value

The mass of the substance containing the specified number of moles, in grams.

Examples

"ammonium"


perikarya/qlabtools documentation built on Nov. 28, 2022, 6:52 p.m.