convertMassUnitsSI: Conversion between mass units of The International System of...

Description Usage Arguments Value References Examples

View source: R/1_convertMassUnitsSI.R

Description

Mass values are converted from a SI unit to another SI unit according to the SI prefixes as shown in BIMP (2019). The greek letter μ is replaced by the vocal u.

Usage

1
convertMassUnitsSI(value, from, to)

Arguments

value

numeric vector with the values to be converted.

from

character with the unit of original values.

to

character with the desired unit for the conversion.

Value

Numeric vector of mass values converted from a SI unit to another mass unit.

References

BIMP, 2019. Bureau International des Poids et Mesures. Brochure of The International System of Units. 9th Edition.

Examples

1
convertMassUnitsSI(value = c(0.2, 0.4), from = 'mg', to = 'g')

masscor documentation built on Sept. 13, 2021, 9:06 a.m.