convertMassUnitsSI {masscor}R Documentation

Conversion between mass units of The International System of Units

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 \mu is replaced by the vocal u.

Usage

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

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

[Package masscor version 0.0.7.1 Index]