mirror of
https://github.com/msberends/AMR.git
synced 2026-10-01 04:13:33 +02:00
(v1.7.1) New CRAN release
This commit is contained in:
1 parent
279376fccb
commit
7e70403efb
94 files changed
+1709
-543
No files matched your search
@@ -118,6 +118,11 @@ example_isolates[any(carbapenems() == "R"), penicillins()]
|
||||
\donttest{
|
||||
if (require("dplyr")) {
|
||||
|
||||
# get AMR for all aminoglycosides e.g., per hospital:
|
||||
example_isolates \%>\%
|
||||
group_by(hospital_id) \%>\%
|
||||
summarise(across(aminoglycosides(), resistance))
|
||||
|
||||
# this will select columns 'IPM' (imipenem) and 'MEM' (meropenem):
|
||||
example_isolates \%>\%
|
||||
select(carbapenems())
|
||||
|
||||
Reference in new issue
Block a user