Assess Water Quality Trends with Generalized Additive Models

Assess Water Quality Trends for Long-Term Monitoring Data in Estuaries using Generalized Additive Models following Wood (2017) and Error Propagation with Mixed-Effects Meta-Analysis following Sera et al. (2019) . Methods are available for model fitting, assessment of fit, annual and seasonal trend tests, and visualization of results.


wqtrends

R-CMD-check pkgdown Codecov test coverage CRAN status DOI

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

Install the package from CRAN as follows. The development version of the package can be installed from r-universe. The source code is available on GitHub.

# Install wqtrends in R:
install.packages('wqtrends')

# load wqtrends
library(wqtrends)

Issues and suggestions

Please report any issues and suggestions on the issues link for the repository.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("wqtrends")

1.5.2 by Marcus Beck, 9 months ago


< https://github.com/tbep-tech/wqtrends/>, < https://tbep-tech.github.io/wqtrends/>


Report a bug at https://github.com/tbep-tech/wqtrends/issues


Browse source code at https://github.com/cran/wqtrends


Authors: Marcus Beck [aut, cre] , Perry de Valpine [aut] , Rebecca Murphy [aut] , Ian Wren [aut] , Ariella Chelsky [aut] , Melissa Foley [aut] , David Senn [aut]


Documentation:   PDF Manual  


CC0 license


Imports dplyr, ggplot2, lubridate, mgcv, mixmeta, plotly, purrr, tibble, tidyr, viridisLite

Suggests testthat, covr, english, knitr, rmarkdown


See at CRAN