diveStats(x)
oneDiveStats(x, interval, speed=FALSE)
stampDive(x, ignoreZ=TRUE)TDRcalibrate-class object for
diveStats and stampDive, and a data frame containing a
single dive's data (a factor identifying the dive phases, a POSIXct
obx.data.frame with one row per dive detected
(durations are in s, and linear variables in m):POSIXct object, specifying the start time of
each dive.POSIXct object, as begdesc indicating
descent's end time.POSIXct object, as begdesc indicating
the time ascent began. stampDive returns a data.frame with trip number, trip type, and
start and end times for each dive.
diveStats calculates various dive statistics based on
time and depth for an entire TDR record.
oneDiveStats obtains these statistics from a single dive, and
stampDive stamps each dive with associated trip information..detPhase, zoc,
TDRcalibrate-classdata(divesTDRcalibrate)
divesTDRcalibrate
tdrX <- diveStats(divesTDRcalibrate)
stamps <- stampDive(divesTDRcalibrate, ignoreZ=TRUE)
tdrX.tab <- data.frame(stamps, tdrX)
summary(tdrX.tab)Run the code above in your browser using DataLab