powered by
Get a factor to convert metric prefixes into one another.
calc_factor_prefix(from, to)
A string containing the prefixed unit A.
A string containing the prefixed unit B.
A factor for multiplication with the value.
Convert, e.g. "kg" to "<U+00B5>g". You can convert ".g", ".l", ".mol", ".m^3" (cubic metres), where "." symbolizes a metric prefix:
For g, l and mol: d (deci), c (centi), m (milli), <U+00B5> (micro), n (nano), p (pico) and f (femto).
For g you might use k (kilo) as well.
For m^3 (cubic metres) you may only use: d (deci), c (centi) and m (milli).
Other conversion functions: calc_factor_conc, convert_conc, convert_prefix
calc_factor_conc
convert_conc
convert_prefix
# NOT RUN { calc_factor_prefix(from = "ng", to = "kg") calc_factor_prefix(from = "dm^3", to = "cm^3") calc_factor_prefix(from = "fl", to = "pl") calc_factor_prefix(from = "pmol", to = "nmol") # }
Run the code above in your browser using DataLab