View source: R/anlz_attainsite.R
anlz_attainsite | R Documentation |
Get site attainment categories for chlorophyll or light attenuation
anlz_attainsite(
avedatsite,
thr = c("chla", "la"),
trgs = NULL,
yrrng = NULL,
thrs = FALSE
)
avedatsite |
result returned from |
thr |
chr string indicating with water quality value and appropriate threshold to to plot, one of "chl" for chlorophyll and "la" for light availability |
trgs |
optional |
yrrng |
optional numeric value for year to return, defaults to all |
thrs |
logical indicating if attainment category is relative to targets (default) or thresholds |
This function is a simplication of the attainment categories returned by anlz_attain
. Sites are only compared to the targets/thresholds that apply separately for chlorophyll or light attenuation.
a data.frame
for each year and site showing the attainment category
avedatsite <- anlz_avedatsite(epcdata)
anlz_attainsite(avedatsite)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.