View source: R/convert_flow_unit.R
find_factor | R Documentation |
Helper function to grab the conversion factor from an input unit and given list
find_factor(full_unit, units = NULL, prefix = "^")
full_unit |
full unit, e.g. "mL/min/kg" |
units |
unit specification list, e.g. 'list("ml" = 1/1000, "dl" = 1/10, "l" = 1)' |
prefix |
prefix used in matching units, e.g. "^" only matches at start of string while "_" matches units specified as "/" |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.