rqPlot {diveMove}R Documentation

Plot of quantile regression for velocity calibrations

Description

Plot of quantile regression for assessing quality of velocity calibrations

Usage

rqPlot(rdepth, vel, rqFit, main="qtRegression",
       colramp=colorRampPalette(c("white", "darkblue")))

Arguments

vel velocity in m/s.
rdepth numeric vector with rate of depth change.
rqFit object of class “rq” representing a quantile regression fit of rate of depth change on mean velocity.
main string; title prefix to include in ouput plot.
colramp function taking an integer n as an argument and returning n colors.

Details

The dashed line in the plot represents a reference indicating a one to one relationship between velocity and rate of depth change. The other line represent the quantile regression fit.

Author(s)

Sebastian P. Luque spluque@gmail.com

See Also

doVelCalib, diveStats

Examples

## Not run: 
plot((sealX <- readTDR(system.file(file.path("data", "sealMK8.csv"),
                                   package="diveMove"))))
## End(Not run)

[Package diveMove version 0.1-5 Index]