.cutDive(x, smooth.par, knot.factor, descent.crit.q, ascent.crit.q)
.labDive(act, string)
.labDivePhase(x, diveID, ...)calibrateDepth.act to
search for and label sequentially..cutDive (smooth.par
and knot.factor)..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 list with a factor having levels
D, DB, B, BA, A,
DA, and X, breaking the input into descent,
descent/bottom, bottom, bottom/ascent, ascent, and non-dive,
respectively. If x contains no dives, only level X is
present for all readings. The list also contains another list with
diveModel objects for each dive..cutDive generates a diveModel object with
details of model used to detect dive phases using cubic spline
smoothing and its first derivative.