styled, unit test fix

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2022-08-28 10:31:50 +02:00
1 parent 4cb1db4554
commit 4d050aef7c
147 files changed
+10897 -8169

No files matched your search

+11 -6
View File
@@ -70,12 +70,17 @@ head(x)
format(x, translate_ab = "name (atc)")
# Use FUN to change to transformation of microorganism codes
bug_drug_combinations(example_isolates,
FUN = mo_gramstain)
bug_drug_combinations(example_isolates,
FUN = function(x) ifelse(x == as.mo("Escherichia coli"),
"E. coli",
"Others"))
FUN = mo_gramstain
)
bug_drug_combinations(example_isolates,
FUN = function(x) {
ifelse(x == as.mo("Escherichia coli"),
"E. coli",
"Others"
)
}
)
}
}