mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 02:20:49 +01:00
new SDD and N for as.sir()
This commit is contained in:
1 parent
b68f47d985
commit
08a27922a8
28 files changed
+225
-172
No files matched your search
+1
-1
@@ -236,7 +236,7 @@ first_isolate <- function(x = NULL,
|
||||
FUN.VALUE = logical(1),
|
||||
X = x,
|
||||
# check only first 10,000 rows
|
||||
FUN = function(x) any(as.character(x[1:10000]) %in% c("S", "I", "R"), na.rm = TRUE),
|
||||
FUN = function(x) any(as.character(x[1:10000]) %in% c("S", "SDD", "I", "R", "N"), na.rm = TRUE),
|
||||
USE.NAMES = FALSE
|
||||
))
|
||||
if (method == "phenotype-based" && !any_col_contains_sir) {
|
||||
|
||||
Reference in new issue
Block a user