.cutDive(x, descent.crit.q, ascent.crit.q, wiggle.tol)
.labDive(act, string)
.labDivePhase(x, diveID, descent.crit.q, ascent.crit.q, wiggle.tol).labDivePhase, a class TDR object.
For .cutDive, a 3-col matrix with subscript in original TDR
object, non NA depths, and numeric vector representing
calibrateDepth.act to search
for and label sequentially..labDive returns a matrix with as many rows as its first two
arguments with two columns: dive.id, and postdive.id, each one
sequentially numbering each dive and postdive period. .labDivePhase returns a factor with levels x
contains no dives, only level
.cutDive generates a character vector that breaks a dive into descent, descent/bottom, bottom, bottom/ascent, ascent, and/or descent/ascent given a proportion of maximum depth for bottom time. It return a character matrix with orig ID and corresponding label.