1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-08 19:22:02 +02:00

(v1.7.1) New CRAN release

This commit is contained in:
2021-06-03 15:19:21 +02:00
parent 279376fccb
commit 7e70403efb
94 changed files with 1709 additions and 543 deletions

View File

@ -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())