Producing interactive time series plots of biology and flow data
shiny_hev.Rd
The shiny_hev function launches a shiny app of:
If multiplot = TRUE, a multiplot plotly plot with: (i) a drop-down list to select the site of interest.
If multiplot = FALSE, a plotly plot with: (i) a drop-down list to select the site of interest, and (ii) a drop-down list to select which biol_metric to plot.
Arguments
- data
Data frame, containing the data to plot.
- sites_col
Name of variable defining site ID.
- date_col
Name of column containing time variable.
- flow_stat
Flow statistics of interest; two should be chosen.
- biol_metric
Biology metrics of interest; up to four can be chosen.
- multiplot
If TRUE: a multiplot of up to four biology metrics is displayed; If FALSE: a single plot is displayed. Default = TRUE.