R package for Estuarine BAyesian Single-station Estimation (EBASE) method for ecosystem metabolism.
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.
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)
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.