Standard units used in Stox
data(StoxUnits)
A data.table
with the following columns:
unique identifier for unit
The quantity the units apply to. Units can be converted to other units of the same quantity
Symbol or shorthand notation for the unit. Unique within quantity
Short name of the unit, intended for plotting and menu options
Name of the unit
Conversion factor. All units of the same quantity are expressed relative to common base unit whos value for conversion is 1.
The 'id', 'quantity', and 'conversion' defines a unit. 'symbol', shortname' and 'name' should are unique for a given quantity
setUnit
, getUnit
, findUnit
, and getUnitOptions
data(StoxUnits)