View source: R/unit_conversion.R
unit_conversion | R Documentation |
Converts units for compatibility with package functions.
unit_conversion(x, mvunits, to_gL = TRUE)
x |
The value of the number to be converted, or to convert to (depending on 'to_gL' argument) |
mvunits |
Units of the mass and volume of the data. Must be entered as "mass/volume" |
to_gL |
Boolean. Tells whether or not the conversion is into g/L or from g/L to original |
Value equivalent to input with the appropriate units.
unit_conversion(64, "mcg/mL")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.