Built site for AMR@3.0.1.9121: 0293d29

This commit is contained in:
github-actions committed 2026-10-12 10:29:07 +00:00
1 parent 664ab195d2
commit 6776c0cac7
91 files changed
+145 -159

No files matched your search

+10 -6
View File
@@ -742,7 +742,6 @@ carbapenems()
# Though they are primarily intended to use for selections and filters.
# Examples sections below are split into 'dplyr', 'base R', and 'data.table':
# \donttest{
if (FALSE) { # \dontrun{
# dplyr -------------------------------------------------------------------
@@ -763,8 +762,10 @@ example_isolates %>% select(administrable_per_os())
# get AMR for all aminoglycosides e.g., per ward:
example_isolates %>%
group_by(ward) %>%
summarise(across(aminoglycosides(),
resistance))
summarise(across(
aminoglycosides(),
resistance
))
# You can combine selectors with '&' to be more specific:
example_isolates %>%
@@ -774,8 +775,10 @@ example_isolates %>%
example_isolates %>%
filter(mo_genus() %in% c("Escherichia", "Klebsiella")) %>%
group_by(ward) %>%
summarise_at(not_intrinsic_resistant(),
resistance)
summarise_at(
not_intrinsic_resistant(),
resistance
)
# get susceptibility for antimicrobials whose name contains "trim":
example_isolates %>%
@@ -828,8 +831,9 @@ x <- example_isolates[carbapenems() == "R", ]
y <- example_isolates %>% filter(carbapenems() == "R")
z <- example_isolates %>% filter(if_all(carbapenems(), ~ .x == "R"))
identical(x, y) && identical(y, z)
} # }
# \donttest{
# base R ------------------------------------------------------------------
# select columns 'IPM' (imipenem) and 'MEM' (meropenem)