detDive(zdepth, act, divethres=4, ...)
labDive(act, string, interval)
labDivePhase(x, diveID, descent.crit.q, ascent.crit.q, wiggle.tol)depth coding activity, with levels
specified as in detPhase.act to search
for and label sequentially.detDivedetPhase.
All levels may be represented.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
detDive detects a dive whenever the zero-offset
corrected depth in an underwater phase is below the supplied dive
threshold. The adjustment is done only for phases of at-sea activity,
completely ignoring phases with other activity. labDive assigns a unique number to each dive along a
vector of depths, and equally numbering the subsequent postdive
interval.
labDivePhase labels each row identifying it with a
portion of the dive.
detPhase, zoc