Learn R Programming

oce (version 0.9-20)

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, unitFromStringRsk, woceNames2oceNames

Examples

Run this code
unitFromString("DB") # dbar

Run the code above in your browser using DataLab