View source: R/show_segplotly.R
show_segplotly | R Documentation |
Plot chlorophyll and secchi data together with matrix outcomes
show_segplotly(
epcdata,
bay_segment = c("OTB", "HB", "MTB", "LTB"),
yrrng = c(1975, 2024),
family = NULL,
partialyr = FALSE,
width = NULL,
height = NULL
)
epcdata |
data frame of epc data returned by |
bay_segment |
chr string for the bay segment, one of "OTB", "HB", "MTB", "LTB" |
yrrng |
numeric for year range to plot |
family |
optional chr string indicating font family for text labels |
partialyr |
logical indicating if incomplete annual data for the most recent year are approximated by five year monthly averages for each parameter |
width |
numeric for width of the plot in pixels |
height |
numeric for height of the plot in pixels |
This function combines outputs from show_thrplot
and show_segmatrix
for a selected bay segment. The plot is interactive and can be zoomed by dragging the mouse pointer over a section of the plot. Information about each cell or value can be seen by hovering over a location in the plot.
An interactive plotly object
show_segplotly(epcdata)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.