Skip to content

BCGcalc

2.3.1

Biological Condition Gradient, Calculator

0packages depend
115downloads / year
80.2%test coverage
13/13checks pass

Overview

About
Maintained by Erik W. LeppoFirst published 2026-08-081 releasesCRAN page ↗GitHub ↗

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."

Install

Health

CRAN checks
13OK
Slowest check: 3.4 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 0.15
80.2%
Coverage · measured lines
100%
Documentation · exports
2
Dependencies · direct
Check history
  • OK2026-08-09
    7 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 413 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

115
CRAN downloads in the past year
Rank #24,724 · ~0/day · ~10/mo
Daily download trend is not available in this view yet.
11530 days
11590 days
1151 year
Compare downloads with other packages →
Also on19 autocran

Repository

Repository
3Stars
1Forks
10Open issues
0Open PRs
10Releases
376Commits
3Contributors
bcgbiologicalconditiongradientmetricr-package
376 commits · Last activity 2026-08-14

Repository practices

Upstream repositoryBeta

4 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/leppott/bcgcalc on 2026-08-16.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
Lint, format, editor (1)
RStudio project
Governance and community (1)
Issue templates
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
17 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
Imports (2)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (4)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Contributors (3)
Contributor
Contributor
Contributor
Package Timeline

1 release. R releases are shown for context.

  • 2.3.1Latest
    2026-08-08 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-08-08
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5.0
Bundled data
337 KB / 2 files
Download size
2.3 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("BCGcalc")
Leppo, E. W., Block, B., Hedin, M., & Stamp, J. (2026). BCGcalc: Biological Condition Gradient, Calculator (Version 2.3.1) [Computer software]. https://doi.org/10.32614/CRAN.package.BCGcalc

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for BCGcalc version 2.3.1 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy