as.argo {oce} | R Documentation |
Coerces a dataset into an argo dataset.
as.argo(time, longitude, latitude, salinity, temperature, pressure, units=NULL, id, filename="", missingValue)
time |
time of observation |
longitude |
longitude of observation |
latitude |
latitude of observation |
salinity |
salinity of observation |
temperature |
temperature of observation |
pressure |
pressure of observation |
units |
an optional list containing units. If |
id |
argo identifier |
filename |
source filename |
missingValue |
optional missing value, indicating data that should be
taken as |
This function assembles vectors into a argo-class
object,
e.g. so that plot.argo
can be used. Use oceSetData
to add other columns to the standard set, if e.g. the device measures
nitrate, etc.
An object of class
"argo"
.
Dan Kelley
The documentation for argo-class
explains the structure
of argo objects, and also outlines the other functions dealing with them.