## S3 method for class 'oce}(x, \dots)':
timeundefined- x
{an oce object.}
- ...
{possibly contains an argument named which, as explained
in Details .}
This is a convenience function that isolates the user from the details
of details of storage. The behaviour depends on the type of object.
advobjects: the times for the velocity observations are
returned as a vector of POSIX times.adpobjects: by default, the times of velocity
observations are returned. This is also the case ifwhich=1is supplied in the...list. Ifwhich=2is
supplied in the...list, the times at which heading was measured
are returned; for some instruments, these are not the same as the
velocity times.
A vector of times.
library(oce)
data(adp)
cat("the first time is:", format(time(adp)[1]), "")
Similar accessor functions are heading, pitch, roll, and
velocity.
[object Object]
misc