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 by using 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("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.
In class TDR:
file
:"character"
, string
indicating the file where the data comes from.dtime
:"numeric"
, sampling
interval in chron
units (d).time
:"chron"
, time stamp for
every reading.depth
:"numeric"
, depth (m)
readings.
Class TDRvel adds:
velocity
:"numeric"
velocity
(m/s) readings.
signature(x="TDR")
: Coerce object to
data.frame.signature(x="TDRvel")
: Coerce object to
data.frame.signature(from="TDR", to="data.frame")
: Coerce
object to data.frame.signature(from="TDRvel", to="data.frame")
:
Coerce object to data.frame.signature(x = "TDR")
: depth slot accessor.signature(x = "TDR")
: sampling interval
accessor.signature(obj = "TDR", diveNo = "numeric",
id = "numeric")
: extract particular dives.signature(x="TDR")
: source file name
accessor.signature(x = "TDR", y = "missing")
: interactive
graphical display of the data, with zooming and panning
capabilities.signature(x = "TDRvel", y = "missing")
: As the
TDR method, but also plots the velocity slot.signature(object = "TDR")
: print an informative
summary of the data.signature(x = "TDR")
: time slot accessor.signature(x = "TDRvel")
: velocity accessor
for TDRvel
objects.
Sebastian P. Luque spluque@gmail.com