mirror of
https://github.com/msberends/AMR.git
synced 2025-07-12 21:41:55 +02:00
fix for antibiograms on R < 3.5
This commit is contained in:
@ -988,7 +988,7 @@ pm_summarise.default <- function(.data, ...) {
|
||||
if (is.list(x_res)) I(x_res) else x_res
|
||||
}
|
||||
)
|
||||
res <- as.data.frame(res)
|
||||
res <- as.data.frame(res, stringsAsFactors = FALSE)
|
||||
fn_names <- names(fns)
|
||||
colnames(res) <- if (is.null(fn_names)) fns else fn_names
|
||||
if (pm_groups_exist) res <- cbind(group, res, row.names = NULL)
|
||||
|
Reference in New Issue
Block a user