View source: R/show_segmatrix.R
show_segmatrix | R Documentation |
Create a colorized table for water quality outcomes by segment that includes the management action and chlorophyll, and light attenuation exceedances
show_segmatrix(
epcdata,
txtsz = 3,
trgs = NULL,
yrrng = c(1975, 2024),
bay_segment = c("OTB", "HB", "MTB", "LTB"),
abbrev = FALSE,
family = NA,
historic = TRUE,
plotly = FALSE,
partialyr = FALSE,
width = NULL,
height = NULL
)
epcdata |
data frame of epc data returned by |
txtsz |
numeric for size of text in the plot, applies only if |
trgs |
optional |
yrrng |
numeric vector indicating min, max years to include |
bay_segment |
chr string for bay segments to include, only one of "OTB", "HB", "MTB", "LTB" |
abbrev |
logical indicating if text labels in the plot are abbreviated as the first letter |
family |
optional chr string indicating font family for text labels |
historic |
logical if historic data are used from 2005 and earlier |
plotly |
logical if matrix is created using plotly |
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, only applies of |
height |
numeric for height of the plot in pixels, only applies of |
This function provides a combined output for the show_wqmatrix
and show_matrix
functions. Only one bay segment can be plotted for each function call.
A static ggplot
object is returned
show_wqmatrix
, show_matrix
show_segmatrix(epcdata, bay_segment = 'OTB')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.