expandUnits | R Documentation |
This function converts abbreviations of length and area units (e.g., "m", "km", and "ha") to their proper names (e.g., "meters", "kilometers", "hectares"). Square areal units are specified using an appended "2", where appropriate (e.g., "m2" means "meters-squared" and will be converted to "meters2").
expandUnits(x)
x |
Character: Abbreviations to convert. Case is ignored.
|
convertUnits
, conversionFactors
expandUnits(c('m', 'm2', 'ac', 'nm2'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.