parse_unit {units}R Documentation

parse unit in product power form (e.g. km m-2 s-1)

Description

parse unit in product power form (e.g. km m-2 s-1)

Usage

parse_unit(str)

Arguments

str

lenght-one character vector containing the unit string

Details

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.

Examples

parse_unit("kg m-2 s-1")

[Package units version 0.4-6 Index]