View source: R/anlz_dodlypep.R
anlz_dodlypep | R Documentation |
Analyze daily DO values relative to threshold
anlz_dodlypep(dodat, thr = 3, impute = TRUE)
dodat |
result returned from |
thr |
numeric indicating appropriate dissolved oxygen thresholds, usually 3 mg/L for acute, 4.8 mg/L for chronic |
impute |
logical indicating of missing dissolved oxygen values are imputed with the year, month, site average |
The dodat
data object can be used as input without downloading USGS data
If impute = TRUE
, missing dissolved oxygen values in the complete daily time series are imputed to the average for the year, month, site combination. This is often necessary to create summary values that make sense. For example, if a month has incomplete data, the maximum below_cumsum
value will not show 30 or 31 days even if every day in the observed record is below the threshold.
data.frame
data(dodat)
dat <- anlz_dodlypep(dodat)
dat
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.