calibrateDepth {diveMove} | R Documentation |
These functions create a "TDRcalibrate" object which is necessary to obtain dive summary statistics.
calibrateDepth(x, landerr=70, seaerr=3610, divethres=4, offset) calibrateSpeed(x, type="all", calType="pooled", bad=c(0, 0), z=0, filename=slot(getTDR(x), "file"), coefs, ...)
x |
an object of class TDR for calibrateDepth , and
an object of class TDRcalibrate-class for
calibrateSpeed . |
landerr, seaerr |
arguments to detPhase . |
divethres |
argument to detDive . |
offset |
argument to zoc . |
type, calType, bad, z, filename |
further arguments for
.getSpeedCalib and doSpeedCalib . |
coefs |
known speed calibration coefficients from quantile
regression as a vector of length 2 (intercept, slope). If provided,
these coefficients are used for calibrating speed, ignoring all
other arguments, except x . |
... |
argument passed to doSpeedCalib . |
These functions are really wrappers around functions that are usually called in sequence, so they provided an abbreviated method for running them together during analyses. See the functions in the ‘See Also’ section for more details.
calibrateDepth
performs zero-offset correction of depth,
wet/dry phase detection, and detection of dives, as well as proper
labelling of the latter.
calibrateSpeed
calibrates speed readings.
An object of class TDRcalibrate-class
Sebastian P. Luque spluque@gmail.com
detPhase
, detDive
,
doSpeedCalib
, zoc
, for the underlying
functions.