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."
| Version: | 2.3.1 |
| Depends: | R (≥ 3.5.0) |
| Imports: | dplyr, reshape2 |
| Suggests: | BioMonTools, readxl, knitr, rmarkdown, ggplot2, shiny, DT, httr, testthat (≥ 3.0.0), plyr, tidyr, tibble, rioja, nhdplusTools, ComplexUpset |
| Published: | 2026-08-08 |
| DOI: | 10.32614/CRAN.package.BCGcalc (may not be active yet) |
| Author: | Erik W. Leppo [aut, cre], Jen Stamp [ctb], Matt Hedin [ctb], Ben Block [ctb] |
| Maintainer: | Erik W. Leppo <Erik.Leppo at tetratech.com> |
| BugReports: | https://github.com/leppott/BCGcalc/issues |
| License: | MIT + file LICENSE |
| URL: | https://github.com/leppott/BCGcalc |
| NeedsCompilation: | no |
| Materials: | README, NEWS |
| CRAN checks: | BCGcalc results |
| Reference manual: | BCGcalc.html , BCGcalc.pdf |
| Vignettes: |
Vignette, Map (source, R code) Vignette, BCGcalc (source, R code) |
| Package source: | BCGcalc_2.3.1.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available |
Please use the canonical form https://CRAN.R-project.org/package=BCGcalc to link to this page.