View source: R/show_matrixpep.R
show_matrixpep | R Documentation |
Create a colorized table for indicator reporting
show_matrixpep(
dat,
txtsz = 3,
trgs = NULL,
yrrng = NULL,
bay_segment = c("1a", "1b", "2", "3"),
asreact = FALSE,
nrows = 10,
abbrev = FALSE,
family = NA
)
dat |
data frame of water quality 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, one to all of "1a", "1b", "2", or "3" |
asreact |
logical indicating if a |
nrows |
if |
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 |
A static ggplot
object is returned if asreact = FALSE
, otherwise a reactable
table is returned
show_matrixpep(rawdat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.