WRTDStidal1.1.4 package

Weighted Regression for Water Quality Evaluation in Tidal Waters

aiccrq

Akaike's Information Criterion for weighted quantile regression

all_sims

Simulate a response variable time series using all functions

annual_agg

Create annual aggregations of WRTDS output

chllab

Chlorophyll axis label

chngest

Get trend for a single time period

createsrch

Create a grid of half-window widths to evaluate

dec_time

Create decimal time from time vector

dynaplot

Plot model response to salinity or flow as a lineplot for all months

fill_grd

Add date columns and fill missing values in the interpolation grids

fillpo

Fill the predonobs attribute

fitmoplot

Plot the fitted results for a tidal object by month

fitplot

Plot the fitted results for a tidal object

getwts

Get weights for regression

goodfit

Quantile regression goodness of fit

gradcols

Get colors for plots

gridplot

Plot variable response to salinity/flow as a gridded surface for all m...

kendallSeasonalTrendTest

Kendall seasonal trend test

kendallTrendTest

Kendall trend test

lnQ_sim

Simulate a discharge time series

lnres_err

Simulate random errors from a time series

lnres_sim

Simulate a water quality time series

modfit

Fit weighted regression and get predicted/normalized response variable

nobsplot

Plot number of observations in a WRTDS interpolation grid

obsplot

Plot observed response variable and salinity/flow data

prdnrmplot

Plot combined predicted and normalized results from a tidal object

resnorm

Get salinity/flow normalized WRTDS predictions from interpolation grid...

respred

Get WRTDS predictions from interpolation grids

resscls

Get the scale parameters for predicted values

samp_sim

Sample a daily time series at a set frequency

seasplot

Plot seasonal trends across all years

seasyrplot

Plot seasonal model response by years

sliceplot

Plot time slices within a tidal object

tidal

Create a tidal class object

tidalmean

Create a tidalmean class object

winsrch_constrOptim

Find the optimal half-window width combination

winsrch_grid

Evaluate half-window width combinations

winsrch_optim

Find the optimal half-window width combination

wrtds

Get WRTDS prediction grid

wrtdscv

Use k-fold cross-validation to evaluate WRTDS model fit

wrtdsperf

Get WRTDS performance metrics

wrtdsrsd

Get WRTDS residuals

wrtdstrnd

Get WRTDS trends

wrtdstrnd_sk

Get WRTDS trends using seasonal Kendall tests

wtsplot

Plot the weights for an observation

An adaptation for estuaries (tidal waters) of weighted regression on time, discharge, and season to evaluate trends in water quality time series. Please see Beck and Hagy (2015) <doi:10.1007/s10666-015-9452-8> for details.

  • Maintainer: Marcus W. Beck
  • License: CC0
  • Last published: 2023-10-20