parse_unit {units} | R Documentation |
parse unit in product power form (e.g. km m-2 s-1)
parse_unit(str)
str |
lenght-one character vector containing the unit string |
see also demo(cf)
for parsing units in the CF standard name table. Note that parse_unit
currently fails on expressions containing a /
, such as m/s-1
.
parse_unit("kg m-2 s-1")