dataLabel {oce} | R Documentation |
Note that the whole object is not being given as an argument; possibly this will reduce copying and thus storage impact.
dataLabel(names, units)
names |
the names of data within an object |
units |
the units from metadata |
a vector of strings, with blank entries for data with unknown units
library(oce) data(ctd) dataLabel(names(ctd@data), ctd@metadata$units)