TDR-class: Classes "TDR" and "TDRspeed" for representing TDR information
Description
These classes store information gathered by time-depth
recorders. Objects from the Class
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.Slots
In class TDR:
file:- Object of class character, string
indicating the file where the data comes from.
dtime:- Object of class numeric, sampling
interval in seconds.
time:- Object of class
POSIXct, time
stamp for every reading. depth:- Object of class numeric, depth (m)
readings.
concurrentData:- Object of class
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. Details
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.