View source: R/unit.conversions.R
translateFreeformToUnitted | R Documentation |
Convert units from a greater variety of forms, including rloadest form, to unitted form
translateFreeformToUnitted(freeform.units, attach.units = FALSE)
freeform.units |
character string or list of character strings
describing one or more sets of units. "Freeform" is an exaggeration but
gets at the idea that these units can take a greater variety of forms than
those accepted by unitted and the units conversion functions in
|
attach.units |
logical. If TRUE, returned value is unitted; otherwise, it's character. |
a unitbundle or list of unitbundles containing equivalent but simpler and more uniform units
loadflex:::translateFreeformToUnitted("cfs") # "ft^3 s^-1"
loadflex:::translateFreeformToUnitted("kg/d") # "kg d^-1"
loadflex:::translateFreeformToUnitted("mg L^-1") # "mg L^-1"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.