Learn R Programming

oce (version 1.1-1)

unitFromString: Decode units, from strings

Description

Decode units, from strings

Usage

unitFromString(s)

Arguments

s

A string.

Value

A list of two items: unit which is an expression, and scale, which is a string.

See Also

Other functions that interpret variable names and units from headers: ODFNames2oceNames, cnvName2oceName, oceNames2whpNames, oceUnits2whpUnits, unitFromStringRsk, woceNames2oceNames, woceUnit2oceUnit

Examples

Run this code
# NOT RUN {
unitFromString("DB") # dbar
# }

Run the code above in your browser using DataLab