Package: BCGcalc 2.3.1.9006

BCGcalc: Biological Condition Gradient, Calculator

Functions to calculate Biological Condition Gradient (BCG) using input files with one row per sample with metric values and site classes as columns. A second file with the BCG Rules (example included) to define the memberships is also needed. The three main functions convert metric scores to metric memberships following fuzzy set BCG Rules (BCG.Level.Assignment), combine metric memberships to level memberships according to BCG Rules (BCG.Level.Membership), and then assign a BCG primary and secondary level based on level memberships (BCG.Level.Assignment). Originally developed as a package for use with BCG for Puget Lowland/Willamette Valley but has been further enhanced for use with multiple communities (benthic macroinvertebrates, fish, periphyton, or coral) and different rule sets. Oregon and Washington reference - "Stamp, J. and J. Gerritsen. 2018. Calibration of the Biological Condition Gradient (BCG) for Macroinvertebrate Assemblages in Puget Lowland/Willamette Valley Freshwater Wadeable Streams. Prepared by Tetra Tech for the US EPA Office of Water, Office of Science and Technology and US EPA Region 10." BCG process documentation - "USEPA. 2016. A Practitioner’s Guide to the Biological Condition Gradient - A Framework to Describe Incremental Change in Aquatic Ecosystems. EPA 842-R-16-001. Office of Science and Technology, Washington, DC 20460."

Authors:Erik W. Leppo [aut, cre], Jen Stamp [ctb], Matt Hedin [ctb], Ben Block [ctb]

BCGcalc_2.3.1.9006.tar.gz
BCGcalc_2.3.1.9006.zip(r-4.7-any)BCGcalc_2.3.1.9006.zip(r-4.6-any)BCGcalc_2.3.1.9006.zip(r-4.5-any)
BCGcalc_2.3.1.9006.tgz(r-4.6-any)BCGcalc_2.3.1.9006.tgz(r-4.5-any)
BCGcalc_2.3.1.9006.tar.gz(r-4.7-any)BCGcalc_2.3.1.9006.tar.gz(r-4.6-any)
BCGcalc_2.3.1.9006.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
BCGcalc/json (API)

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

Bug tracker:https://github.com/leppott/bcgcalc/issues

Datasets:

On CRAN:

Conda:

bcgbiologicalconditiongradientmetric

6.27 score 3 stars 24 scripts 90 downloads 4 exports 20 dependencies

Last updated from:72dd46323d. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK208
source / vignettesOK272
linux-releaseOK178
macos-releaseOK93
macos-oldrelOK92
windows-develOK113
windows-releaseOK111
windows-oldrelOK111
wasm-releaseOK142

Exports:BCG.ContLevelTextBCG.Level.AssignmentBCG.Level.MembershipBCG.Metric.Membership

Dependencies:clidplyrgenericsgluelifecyclemagrittrpillarpkgconfigplyrR6Rcppreshape2rlangstringistringrtibbletidyselectutf8vctrswithr

BCGcalc Map Results
Purpose | Map

Last update: 2026-07-07
Started: 2018-10-12

Vignette, BCGcalc
Purpose | Background | Criteria | Disclaimer | Literature cited | Installation | Help | ‘extdata’ files | Data Preparation | Package Functions | Core Functions | Example, Test Data | Example, New Data | Additional (Optional) Functions | Subsample (Rarify) | Metric Calculation, Save Specific Metrics | Example 1 | Example 2 | Flags

Last update: 2026-05-18
Started: 2018-03-05