allow column name for ab in as.sir()

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2024-05-20 21:29:13 +02:00
1 parent fc269e667d
commit d214f74e25
10 files changed
+139 -106

No files matched your search

+1 -1
View File
@@ -135,7 +135,7 @@ count_resistant <- function(..., only_all_tested = FALSE) {
count_susceptible <- function(..., only_all_tested = FALSE) {
tryCatch(
sir_calc(...,
ab_result = c("S", "I"),
ab_result = c("S", "SDD", "I"),
only_all_tested = only_all_tested,
only_count = TRUE
),