mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 07:50:50 +01:00
new tibble export
This commit is contained in:
1 parent
164886f50b
commit
303d61b473
115 files changed
+836
-996
No files matched your search
@@ -1740,7 +1740,7 @@ run_custom_mdro_guideline <- function(df, guideline, info) {
|
||||
out <- factor(out, levels = attributes(guideline)$values, ordered = TRUE)
|
||||
}
|
||||
|
||||
columns_nonsusceptible <- as.data.frame(t(df[, is.rsi(df)] == "R"))
|
||||
columns_nonsusceptible <- as.data.frame(t(df[, is.rsi(df), drop = FALSE] == "R"))
|
||||
columns_nonsusceptible <- vapply(FUN.VALUE = character(1),
|
||||
columns_nonsusceptible,
|
||||
function(x) paste0(rownames(columns_nonsusceptible)[which(x)], collapse = " "))
|
||||
|
||||
Reference in new issue
Block a user