Skip to content

Commit

Permalink
fix to anlz_fibmatrix if geomean calculated on NA
Browse files Browse the repository at this point in the history
  • Loading branch information
fawda123 committed Oct 20, 2024
1 parent a32aeab commit 65fc10c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: tbeptools
Title: Data and Indicators for the Tampa Bay Estuary Program
Version: 3.0.0.9000
Date: 2024-10-10
Date: 2024-10-20
Authors@R: c(
person(given = "Marcus",
family = "Beck",
Expand Down
3 changes: 2 additions & 1 deletion R/anlz_fibmatrix.R
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,8 @@ anlz_fibmatrix <- function(fibdata, yrrng = NULL, stas = NULL, bay_segment = NUL
exceed_30_prob = pbinom(sumgt - 1, tot, 0.30, lower.tail = FALSE),
exceed_50_prob = pbinom(sumgt - 1, tot, 0.50, lower.tail = FALSE),
exceed_75_prob = pbinom(sumgt - 1, tot, 0.75, lower.tail = FALSE)
)
) %>%
dplyr::filter(!is.na(sumgt))

# Put stations into binomial test groups based on significant exceedances of 400cfu criteria
dat$MWQA <- NA
Expand Down

0 comments on commit 65fc10c

Please sign in to comment.