Usage
rqPlot(rddepth, speed, z, contours, rqFit, main="qtRegression",
xlab="rate of depth change (m/s)", ylab="speed (m/s)",
colramp=colorRampPalette(c("white", "darkblue")),
col.line="red", cex.pts=1)Arguments
rddepth
Numeric vector with rate of depth change.
z
A list with the bivariate kernel density estimates (1st
component the x points of the mesh, 2nd the y points, and 3rd the
matrix of densities).
contours
List with components: pts which should be a
matrix with columns named x and y, level a
number indicating the contour level the points in pts
correspond to.
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.
colramp
Function taking an integer n as an argument and
returning n colors.
col.line
Color to use for the regression line.
cex.pts
A numerical value specifying the amount by which to
enlarge the size of points.