| calc_factor_prefix {bioset} | R Documentation |
Get a factor to convert metric prefixes into one another.
calc_factor_prefix(from, to)
from |
A string containing the prefixed unit A. |
to |
A string containing the prefixed unit B. |
Convert, e.g. "kg" to "µ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), µ (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).
A factor for multiplication with the value.
Other conversion functions: calc_factor_conc,
convert_conc, convert_prefix
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")