Description Usage Arguments Details Author(s) See Also

Plot of quantile regression for assessing quality of speed calibrations

1 2 3 4 | ```
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)
``` |

`speed` |
numeric vector with speed in m/s. |

`rddepth` |
numeric vector with rate of depth change. |

`z` |
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: |

`rqFit` |
object of class “rq” representing a quantile regression fit of rate of depth change on mean speed. |

`main` |
character: string with title prefix to include in ouput plot. |

`xlab, ylab` |
character vectors with axis labels. |

`colramp` |
function taking an integer n as an argument and returning n colors. |

`col.line` |
color to use for the regression line. |

`cex.pts` |
numeric: value specifying the amount by which to enlarge the size of points. |

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 [email protected]

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.