Package: baytrends 2.0.14

Erik W Leppo

baytrends: Long Term Water Quality Trend Analysis

Enable users to evaluate long-term trends using a Generalized Additive Modeling (GAM) approach. The model development includes selecting a GAM structure to describe nonlinear seasonally-varying changes over time, incorporation of hydrologic variability via either a river flow or salinity, the use of an intervention to deal with method or laboratory changes suspected to impact data values, and representation of left- and interval-censored data. The approach has been applied to water quality data in the Chesapeake Bay, a major estuary on the east coast of the United States to provide insights to a range of management- and research-focused questions. Methodology described in Murphy (2019) <doi:10.1016/j.envsoft.2019.03.027>.

Authors:Rebecca Murphy [aut], Elgin Perry [aut], Jennifer Keisman [aut], Jon Harcum [aut], Erik W Leppo [aut, cre]

baytrends_2.0.14.tar.gz
baytrends_2.0.14.zip(r-4.7-any)baytrends_2.0.14.zip(r-4.6-any)baytrends_2.0.14.zip(r-4.5-any)
baytrends_2.0.14.tgz(r-4.6-any)baytrends_2.0.14.tgz(r-4.5-any)
baytrends_2.0.14.tar.gz(r-4.7-any)baytrends_2.0.14.tar.gz(r-4.6-any)
baytrends_2.0.14.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
baytrends/json (API)

# Install 'baytrends' in R:
install.packages('baytrends', repos = c('https://tetratech.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/tetratech/baytrends/issues

Datasets:

On CRAN:

Conda:

6.60 score 12 stars 82 scripts 621 downloads 63 exports 75 dependencies

Last updated from:a2d278b85c. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK220
source / vignettesOK254
linux-releaseOK216
macos-releaseOK197
macos-oldrelOK224
windows-develOK141
windows-releaseOK134
windows-oldrelOK154
wasm-releaseOK182

Exports:.checkRange.chkParameter.ExpLNmCens.ExpNmCens.F.findFile.fmtPval.gamANOVA.gamCoeff.gamDiffPORtbl.gamPlotCalc.H.H1.H2.H3.H4.H5.initializeResults.mergeFlow.mergeSalinity.P.reAttDF.T.V.vTableanalysisOrganizeDataappendDateFeaturesbaseDaybaseDay2decimalcloseOutcreateResidualsdectimedectime2Datedetrended.flowdetrended.salinityeventLeneventNumeventSeqfillMissingfilterWgtsflwAveragePredgamDiffgamPlotDispgamPlotDispSeasongamTestgamTestSeasongetUSGSflowimputeimputeDFlayerAggregationloadDataloadExcelloadModelsloadModelsResidmakeSurvDFmiss2nana2missnobssaveDFseasAdjflowselectDataunSurvunSurvDF

Dependencies:askpassbitbit64cachemcellrangerclassclassIntclicliprcpp11crayoncurldata.tabledataRetrievalDBIdigestdplyre1071evaluatefastmapfitdistrplusgenericsgluehighrhmshttr2jsonliteKernSmoothknitrlatticelifecyclelubridatemagrittrMASSMatrixmemoisemgcvnlmeopensslpanderpillarpkgconfigplyrprettyunitsprogressproxypurrrR6Rcppreadrreadxlrematchrlangs2sessioninfosfstringistringrsurvivalsystibbletidyrtidyselecttimechangetzdbunitsutf8vctrsvroomwhiskerwithrwkxfunxml2yaml

Flow and Salinity Data Sets
Purpose | Load baytrends | Seasonally Detrended Flow | Example | Seasonally Detrended Salinity | Example GAM Analysis

Last update: 2026-02-22
Started: 2020-11-12

Processing Censored Water Quality Data
Purpose | 1. Importing data from CSV files for baytrends | Example code | Discussion | loadData | makeSurvDF | 2. baytrends data management workflow | unSurvDF | saveDF | Example output | 3. Miscellaneous functions and notes | Combining data frames that contain Surv objects | Companion baytrends functions | unSurvDF and unSurv | imputeDF and impute

Last update: 2020-11-18
Started: 2020-11-12