rqPlot {diveMove} | R Documentation |
Plot of quantile regression for assessing quality of speed calibrations
rqPlot(rdepth, speed, rqFit, main="qtRegression", xlab="rate of depth change (m/s)", ylab="speed (m/s)", colramp=colorRampPalette(c("white", "darkblue")))
speed |
speed 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 speed. |
main |
string; title prefix to include in ouput plot. |
xlab, ylab |
axis labels. |
colramp |
function taking an integer n as an argument and returning n colors. |
The dashed line in the plot represents a reference indicating a one to one relationship between speed and rate of depth change. The other line represent the quantile regression fit.
Sebastian P. Luque spluque@gmail.com