Description Usage Arguments Examples
View source: R/qwparmparmPlot.R
Takes output data object from readNWISodbc and returns a plot of parameter vs parameter.
1 2 3 4 5 |
qw.data |
A qw.data object generated from readNWISodbc |
site.selection |
A character vector of site IDs to plot |
xparm |
Character string of parameter to plot on x axis |
yparm |
Character string of parameter to plot on y axis |
facet |
Character string of either "multisite" for plotting all sites on one plot or "Facet" for plotting sites on individual plots |
scales |
Character string to define y axis on faceted plots. Options are "free","fixed","free_x", or "free_y" |
new.threshold |
The threshold value in seconds from current system time for "new" data. |
show.lm |
Add a linear fit to plot |
log.scaleY |
Logical. Plot y parameter on a log scale. |
log.scaleX |
Logical. Plot x parameter on a log scale. |
highlightrecords |
A character vector of record numbers to highlight in plot |
wySymbol |
Make current water-year highlighted. |
labelDQI |
Logical. Should points be labeled with DQI code. |
printPlot |
Logical. Prints plot to graphics device if TRUE |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | data("exampleData",package="WQReview")
qwparmParmPlot(qw.data = qw.data,
site.selection = "06733000",
xparm = "00915",
yparm = "00061",
facet = "multisite",
scales="fixed",
new.threshold = 60*60*24*30,
show.lm=FALSE,
log.scaleY = FALSE,
log.scaleX = FALSE,
highlightrecords = NULL,
wySymbol = FALSE,
labelDQI = FALSE,
printPlot = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.