Description Usage Arguments Details Value Examples
Function to output scatterplot of SSC vs. turbidity. Output is a single plot or write to PDF.
1 2 3 4 5 6 7 | plot_turbSSC(
x,
log.SSC = FALSE,
log.turb = FALSE,
siteSelect = NULL,
PDFout = NULL
)
|
x |
A |
log.SSC |
Logical, if |
log.turb |
Logical, if |
siteSelect |
Character, site number to create plots for if |
PDFout |
Character. File or full path name of file for plot. If |
Scatterplot of SSC (P80154) vs. Turbidity (Parameter codes 00076, 61028, 63675, 63676, 63677, 63679, 63680, 63681, 63682, 63683, 63684, 72188, 72208, 72209, 72213, 82079, 99872).
If PDFout = NULL
, list containing ggplot elements. If PDFout
specified, a PDF document containing the plots.
1 2 3 4 5 6 7 8 9 10 11 | data("exampleData2",package="sedReview")
x <- exampleData2
turbSSC <- plot_turbSSC(exampleData2, siteSelect = "09163500")
## Not run:
# view plot in Rstudio
print(turbSSC)
# output to file on D drive
plot_turbSSC(exampleData2, siteSelect = "09163500", PDFout = "D:/turbidity.pdf")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.