TDR-class {diveMove} | R Documentation |
These classes store information gathered by time-depth recorders.
Since the data to store in objects of these clases usually come
from a file, the easiest way to construct such objects is with the
function readTDR
to retrieve all the necessary
information. The methods listed above can thus be used to access all
slots.
Objects can be created by calls of the
form new("TDR", ...)
and new("TDRspeed", ...)
.
‘TDR’ objects contain concurrent time and depth readings, as well as a string indicating the file the data originates from, and a number indicating the sampling interval for these data. ‘TDRspeed’ extends ‘TDR’ objects containing additional concurrent speed readings.
In class TDR:
file
:dtime
:time
:POSIXct
, time
stamp for every reading.depth
:concurrentData
:data.frame
, optional data collected concurrently.
Class ‘TDRspeed’ must also satisfy the condition that a component of the concurrentData slot is named speed or velocity, containing the measured speed, a vector of class ‘numeric’ containing speed measurements in (m/s) readings.
Sebastian P. Luque spluque@gmail.com