Skip to content

Commit 97b8dea

Browse files
committed
v1.2.4.9006
* fix: Update dominance metrics (fish and bugs) + Dom01 used max original data not dom dataset + Other dom numbers unaffected
1 parent 91a2871 commit 97b8dea

5 files changed

Lines changed: 23 additions & 5 deletions

File tree

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: BioMonTools
22
Type: Package
33
Title: Biomonitoring and Bioassessment Calculations
4-
Version: 1.2.4.9005
4+
Version: 1.2.4.9006
55
Authors@R: c(
66
person("Erik W.", "Leppo",
77
email="Erik.Leppo@tetratech.com",

NEWS

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@ NEWS
44

55
<!-- NEWS.md is generated from NEWS.Rmd. Please edit that file -->
66

7-
#> Last Update: 2026-01-06 13:43:43.930047
7+
#> Last Update: 2026-01-12 09:29:53.560202
88

99
# Version History
1010

11+
## Changes in version 1.2.4.9006 (2026-01-12)
12+
13+
- fix: Update dominance metrics (fish and bugs)
14+
- Dom01 used max original data not dom dataset
15+
- Other dom numbers unaffected
16+
1117
## Changes in version 1.2.4.9005 (2025-12-26)
1218

1319
- docs: Update README, Issue \#127

NEWS.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@ NEWS
44

55
<!-- NEWS.md is generated from NEWS.Rmd. Please edit that file -->
66

7-
#> Last Update: 2026-01-06 13:43:43.930047
7+
#> Last Update: 2026-01-12 09:29:53.560202
88

99
# Version History
1010

11+
## Changes in version 1.2.4.9006 (2026-01-12)
12+
13+
- fix: Update dominance metrics (fish and bugs)
14+
- Dom01 used max original data not dom dataset
15+
- Other dom numbers unaffected
16+
1117
## Changes in version 1.2.4.9005 (2025-12-26)
1218

1319
- docs: Update README, Issue \#127

NEWS.rmd

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ cat(paste0("Last Update: ",Sys.time()))
1818

1919
# Version History
2020

21+
## Changes in version 1.2.4.9006 (2026-01-12)
22+
23+
* fix: Update dominance metrics (fish and bugs)
24+
+ Dom01 used max original data not dom dataset
25+
+ Other dom numbers unaffected
26+
2127
## Changes in version 1.2.4.9005 (2025-12-26)
2228

2329
* docs: Update README, Issue #127

R/metric_values.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2687,7 +2687,7 @@ metric.values.bugs <- function(myDF
26872687

26882688
### Dominant N ####
26892689
## uses previously defined values added to myDF
2690-
, pi_dom01 = 100 * max(N_TAXA, na.rm = TRUE) / ni_total
2690+
, pi_dom01 = 100 * max(ni_dom01, na.rm = TRUE) / ni_total
26912691
, pi_dom02 = 100 * max(ni_dom02, na.rm = TRUE) / ni_total
26922692
, pi_dom03 = 100 * max(ni_dom03, na.rm = TRUE) / ni_total
26932693
, pi_dom04 = 100 * max(ni_dom04, na.rm = TRUE) / ni_total
@@ -4640,7 +4640,7 @@ metric.values.fish <- function(myDF
46404640

46414641
## Dominant N ####
46424642
## uses previously defined values added to myDF
4643-
, pi_dom01 = 100 * max(N_TAXA, na.rm = TRUE) / ni_total
4643+
, pi_dom01 = 100 * max(ni_dom01, na.rm = TRUE) / ni_total
46444644
, pi_dom02 = 100 * max(ni_dom02, na.rm = TRUE) / ni_total
46454645
, pi_dom03 = 100 * max(ni_dom03, na.rm = TRUE) / ni_total
46464646
, pi_dom04 = 100 * max(ni_dom04, na.rm = TRUE) / ni_total

0 commit comments

Comments
 (0)