Estuarine Bayesian Single-Station Estimation Method for Ecosystem Metabolism

Estimate ecosystem metabolism in a Bayesian framework for individual water quality monitoring stations with continuous dissolved oxygen time series. A mass balance equation is used that provides estimates of parameters for gross primary production, respiration, and gas exchange. Methods adapted from Grace et al. (2015) and Wanninkhof (2014) . Details in Beck et al. (2024) .


EBASE

R-CMD-check EBASE status badge pkgdown Codecov test coverage CRAN status

R package for Estuarine BAyesian Single-station Estimation (EBASE) method for ecosystem metabolism.

Installation

Install the package as follows:

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

The JAGS software must also be installed to use this package. Follow the instructions in the link to download and install the version appropriate for your operating system.

Minimal example

library(dplyr)
library(lubridate)
library(doParallel)

# get four days of data
dat <- exdat %>%
  filter(month(DateTimeStamp) == 6 & day(DateTimeStamp) %in% 1:4)

##
# run ebase with defaults

# setup parallel backend
cl <- makeCluster(2)
registerDoParallel(cl)

res <- ebase(dat, interval = 900, Z = 1.85)

stopCluster(cl)

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("EBASE")

1.1.0 by Marcus Beck, 2 years ago


https://fawda123.github.io/EBASE/, https://github.com/fawda123/EBASE/


Report a bug at https://github.com/fawda123/EBASE/issues


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


Authors: Marcus Beck [aut, cre] , Maria Herrmann [aut] , Jill Arriola [aut] , Raymond Najjar [aut]


Documentation:   PDF Manual  


CC0 license


Imports doParallel, dplyr, foreach, ggplot2, lubridate, R2jags, rjags, tidyr, truncnorm, zoo

Suggests testthat, knitr, rmarkdown, covr

System requirements: JAGS 4.x.y (https://mcmc-jags.sourceforge.net)


See at CRAN