Description Usage Arguments Value Examples
This function creates an interactive plot using dygraphs
package
1 2 3 4 5 6 7 8 9 | event_plot(
dataframe,
q,
datetime,
he,
ssc,
ylabel = "Water discharge",
y2label = "Suspended Sediment Concentration"
)
|
dataframe |
A data set object |
q |
Water discharge variable (or water stage) |
datetime |
Datetime variable (column in POSIXct format) |
he |
Hydrological event variable (or other day column) |
ssc |
Suspended sediment concentration variable (to plot on a second axis) |
ylabel |
Y-axis label |
y2label |
Second Y-axis label |
The 'event_plot' function returns object of class "dygraphs", "htmlwidget"
1 2 3 4 5 6 7 8 9 | |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.