Description Usage Arguments Details Value Examples
Function to output scatterplots of sediment parameter vs. discharge. Output is list of plots or write to PDF.
1 2 3 4 5 6 7 8 9 10 |
x |
A |
log.P80154 |
Logical, if |
log.P70331 |
Logical, if |
log.P80225 |
Logical, if |
log.P00530 |
Logical, if |
log.Q |
Logical, if |
siteSelect |
Character, site number to create plots for if |
PDFout |
Character. File or full path name of file for plots. If |
Scatterplots of SSC (P80154), sand/silt break (P70331), bedload (P80225), TSS (P00530) vs. flow (all discharge reported or converted to cfs).
Not all parameters need to be present in x
for plots to be created (eg. if only SSC present than only SSC vs. flow plot returned)
If PDFout is not specified, than a list of the plots is returned. Plots (if applicable) are specified above. See example for more details.
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("exampleData",package="sedReview")
x <- exampleData
sedFlow <- plot_sedFlow(exampleData, siteSelect = "06934500")
## Not run:
# view plot in Rstudio
sedFlow$SSC
# output to file on D drive
plot_sedFlow(exampleData, siteSelect = "06934500", PDFout = "D:/flow.pdf")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.