TDR-class {diveMove}R Documentation

Classes "TDR" and "TDRvel" 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 by using the function readTDR to retrieve all the necessary information. The methods listed above can thus be used to access all slots.

Objects from the Class

Objects can be created by calls of the form new("TDR", ...) and new("TDRvel", ...).

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. TDRvel extends TDR objects containing additional concurrent velocity 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 chron units (d).
time:
Object of class "chron", time stamp for every reading.
depth:
Object of class "numeric", depth (m) readings.

Class TDRvel adds:

velocity:
Object of class "numeric" velocity (m/s) readings.

Methods

as.data.frame
signature(x="TDR"): Coerce object to data.frame.
as.data.frame
signature(x="TDRvel"): Coerce object to data.frame.
coerce
signature(from="TDR", to="data.frame"): Coerce object to data.frame.
coerce
signature(from="TDRvel", to="data.frame"): Coerce object to data.frame.
getDepth
signature(x = "TDR"): depth slot accessor.
getDtime
signature(x = "TDR"): sampling interval accessor.
extractDive
signature(obj = "TDR", diveNo = "numeric", id = "numeric"): extract particular dives.
getFileName
signature(x="TDR"): source file name accessor.
plot
signature(x = "TDR", y = "missing"): interactive graphical display of the data, with zooming and panning capabilities.
plot
signature(x = "TDRvel", y = "missing"): As the TDR method, but also plots the velocity slot.
show
signature(object = "TDR"): print an informative summary of the data.
getTime
signature(x = "TDR"): time slot accessor.
getVeloc
signature(x = "TDRvel"): velocity accessor for TDRvel objects.

Author(s)

Sebastian P. Luque spluque@gmail.com

See Also

readTDR, TDRcalibrate-class.


[Package diveMove version 0.5-0 Index]