mirror of
https://github.com/msberends/AMR.git
synced 2025-07-12 08:21:51 +02:00
new SDD and N for as.sir()
This commit is contained in:
2
R/mdro.R
2
R/mdro.R
@ -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"))
|
||||
))
|
||||
}
|
||||
)
|
||||
|
Reference in New Issue
Block a user