new SDD and N for as.sir()

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2024-05-20 15:27:04 +02:00
1 parent b68f47d985
commit 08a27922a8
28 files changed
+225 -172

No files matched your search

+1 -1
View File
@@ -732,7 +732,7 @@ mdro <- function(x = NULL,
sum(vapply(
FUN.VALUE = logical(1),
group_tbl,
function(group) any(unlist(x[row, group[!is.na(group)], drop = TRUE]) %in% c("S", "I", "R"))
function(group) any(unlist(x[row, group[!is.na(group)], drop = TRUE]) %in% c("S", "SDD", "I", "R"))
))
}
)