Sets or retrieves the
"units" attribute of an object.
For
units.default replaces the builtin
version, which only works for time series objects. If the variable is
also given a
label, subsetting (using
[.labelled) will
retain the
"units" attribute. For S-Plus 6 which uses version 4
of the S language, the latter does not work.