calibrateDepth {diveMove} | R Documentation |
These functions create a "TDRcalibrate" object which is necessary to obtain dive summary statistics.
calibrateDepth(x, landerr=65, seaerr=3605, divethres=4, offset) calibrateVel(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
calibrateVel . |
landerr, seaerr |
arguments to detPhase . |
divethres |
argument to detDive . |
offset |
argument to zoc . |
type, calType, bad, z, filename |
further arguments for
.getVelCalib and doVelCalib . |
coefs |
known velocity calibration coefficients from quantile
regression as a vector of length 2 (intercept, slope). If provided,
these coefficients are used for calibrating velocity, ignoring all
other arguments, except x . |
... |
argument passed to doVelCalib . |
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.
calibrateVel
calibrates velocity readings.
An object of class TDRcalibrate-class
Sebastian P. Luque spluque@gmail.com
detPhase
, detDive
,
doVelCalib
, zoc
, for the underlying
functions.