TDRcalibrate-methods {diveMove}R Documentation

Methods for querying "TDRcalibrate" objects

Description

These methods can be used to extract elements or generating new information from “TDRcalibrate” objects.

Usage

diveAct(x, y)
dPhaseLab(x, diveNo)
grossAct(x, y)
tdr(x)
velCoef(x)
attendance(obj, ignoreZ)

Arguments

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.

Details

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.

See Also

detDive, detPhase


[Package diveMove version 0.1-6 Index]