View source: R/show_tdlcrkindiccdf.R
show_tdlcrkindiccdf | R Documentation |
Plotly empirical CDF plots of tidal creek context indicators
show_tdlcrkindiccdf(
id,
cntdat,
yr = 2024,
thrsel = FALSE,
pal = c("#5C4A42", "#427355", "#004F7E")
)
id |
numeric indicating the |
cntdat |
output from |
yr |
numeric indicating reference year |
thrsel |
logical if threshold lines and annotations are shown on the plots |
pal |
vector of colors for the palette |
This function returns several empirical cumulative distribution plots for the tidal creek context indicators. Points on the plot indicate the observed values and percentiles for the creek specified by id
. The percentiles and CDF values are defined by the "population" of creeks in cntdat
. Points in the plots are color-coded by sample year to evaluate temporal trends, if any.
A plotly object
cntdat <- anlz_tdlcrkindic(tidalcreeks, iwrraw, yr = 2024)
set.seed(123)
id <- sample(unique(cntdat$id), 1)
show_tdlcrkindiccdf(id, cntdat, thrsel = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.