new tibble export

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2022-08-27 20:49:37 +02:00
1 parent 164886f50b
commit 303d61b473
115 files changed
+836 -996

No files matched your search

+1 -1
View File
@@ -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 = " "))