as.unit {oce} | R Documentation |
Convert a String to a Unit
as.unit(u, default = list(unit = expression(), scale = ""))
u |
A character string indicating a variable name. The following
names are recognized: |
default |
A default to be used for the return value, if |
This function is not presently used by any oce
functions, and is
provided as a convenience function for users.
A list with elements unit
, an expression
,
and scale
, a string.