# NOT RUN {
dat_wq <- qaqc(elksmwq, qaqc_keep = c(0, 3, 5))
dat_wq <- subset(dat_wq, subset = '2007-01-01 0:00', operator = '>=')
x <-
threshold_percentile_plot(dat_wq, param = 'do_mgl'
, hist_rng = c(2007, 2014), by_month = FALSE)
# }
# NOT RUN {
y <-
threshold_percentile_plot(dat_wq, param = 'do_mgl', percentiles = c(0.95)
, hist_rng = c(2007, 2014), target_yr = 2014
, by_month = FALSE)
x2 <-
threshold_percentile_plot(dat_wq, param = 'do_mgl'
, hist_rng = c(2007, 2014), by_month = TRUE)
y2 <-
threshold_percentile_plot(dat_wq, param = 'do_mgl'
, hist_rng = c(2007, 2014), by_month = TRUE
, target_yr = 2014)
dat_nut <- qaqc(elknmnut, qaqc_keep = c(0, 3, 5))
dat_nut <- subset(dat_nut, subset = '2007-01-01 0:00', operator = '>=')
dat_nut <- rem_reps(dat_nut)
x3 <-
threshold_percentile_plot(dat_nut, param = 'chla_n'
, hist_rng = c(2007, 2014), by_month = FALSE)
y3 <-
threshold_percentile_plot(dat_nut, param = 'chla_n'
, hist_rng = c(2007, 2014), by_month = FALSE
, target_yr = 2016)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab