TDR-class {diveMove} | R Documentation |
Classes "TDR" and "TDRspeed" for representing TDR information
Description
These classes store information gathered by time-depth recorders.
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.
Functions
-
TDRspeed-class
: ClassTDRspeed
Slots
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.
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.
Author(s)
Sebastian P. Luque spluque@gmail.com