diveStats(x, depth.deriv=TRUE)
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.depth.deriv=TRUE, 21 additional columns with the minimum,
first quartile, median, mean, third quartile, maximum, and standard
deviation of the depth derivative for each phase of the dive. The
number of columns also depends on the value of speed. 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.calibrateDepth, .detPhase,
TDRcalibrate-class## Continuing the Example from '?calibrateDepth':
utils::example("calibrateDepth", package="diveMove",
ask=FALSE, echo=FALSE)
dcalib # the 'TDRcalibrate' that was created
tdrX <- diveStats(dcalib)
stamps <- stampDive(dcalib, ignoreZ=TRUE)
tdrX.tab <- data.frame(stamps, tdrX)
summary(tdrX.tab)Run the code above in your browser using DataLab