R package to assess water quality trends for long-term monitoring data in estuaries using Generalized Additive Models with error propagation from mixed-effect meta-analysis. Uses concepts in the mgcv and mixmeta packages. Detailed information on the methods used in this package are described in the following open access article:

Beck, M.W., de Valpine, P., Murphy, R., Wren, I., Chelsky, A., Foley, M., Senn, D.B. 2022. Multi-scale trend analysis of water quality using error propagation of Generalized Additive Models. Science of the Total Environment. 802:149927. https://doi.org/10.1016/j.scitotenv.2021.149927

## Installation

The package can be installed from r-universe. The source code is available on GitHub.

# enable repos
options(repos = c(
tbeptech = 'https://tbep-tech.r-universe.dev',
CRAN = 'https://cloud.r-project.org'))

# install wqtrends
install.packages('wqtrends')

library(wqtrends)