TDRcalibrate-methods {diveMove} | R Documentation |
These methods can be used to extract elements or generating new information from “TDRcalibrate” objects.
diveAct(x, y) dPhaseLab(x, diveNo) grossAct(x, y) tdr(x) velCoef(x) attendance(obj, ignoreZ)
x, obj |
a TDRcalibrate object. |
y |
a string indicating the element from x to extract. In the case of diveAct: “dive.id”, “dive.activity”, or “postdive.id”. In the case of grossAct: “phase.id”, “trip.act”, “trip.beg”, or “trip.end”. |
diveNo |
numeric vector indicating the dive number to extract for
dPhaseLab . |
ignoreZ |
logical indicating whether or not trivial aquatic activities should be ignored when calculating attendance. |
If argument y is missing, then the entire element is extracted
from the TDRcalibrate
object.
diveAct
extracts vectors identifying all readings to a
particular dive or postdive number, or a factor identifying all
readings to a particular activity.
dPhaseLab
extracts a factor identifying all readings to a
particular dive phase.
grossAct
extracts elements that divide the data into major
activities.
tdr
and velCoef
extract the TDR
object and the
velocity calibration coefficients, respectively.
attendance
generates an attendance table for the record;
i.e. the duration of each dry and wet phase.