1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-09 06:02:01 +02:00
This commit is contained in:
2023-10-22 15:51:27 +02:00
parent ca72a646d0
commit 4c11a7bd9c
10 changed files with 19 additions and 20 deletions

View File

@ -161,9 +161,6 @@ valid_mic_levels <- c(
#' if (require("ggplot2")) {
#' autoplot(mic_data, mo = "E. coli", ab = "cipro", language = "nl") # Dutch
#' }
#' if (require("ggplot2")) {
#' autoplot(mic_data, mo = "E. coli", ab = "cipro", language = "uk") # Ukrainian
#' }
as.mic <- function(x, na.rm = FALSE) {
meet_criteria(x, allow_NA = TRUE)
meet_criteria(na.rm, allow_class = "logical", has_length = 1)