mirror of
https://github.com/msberends/AMR.git
synced 2026-11-15 22:20:47 +01:00
(v3.0.1.9119) update doc
This commit is contained in:
1 parent
36e6388868
commit
e19eabe828
4 files changed
+8
-6
No files matched your search
+1
-1
@@ -1,5 +1,5 @@
|
||||
Package: AMR
|
||||
Version: 3.0.1.9118
|
||||
Version: 3.0.1.9119
|
||||
Date: 2026-10-11
|
||||
Title: Antimicrobial Resistance Data Analysis
|
||||
Description: Functions to simplify and standardise antimicrobial resistance (AMR)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# AMR 3.0.1.9118
|
||||
# AMR 3.0.1.9119
|
||||
|
||||
Planned as v3.1.0, mid October 2026.
|
||||
|
||||
|
||||
+3
-2
@@ -92,12 +92,13 @@
|
||||
#' }
|
||||
#' if (require("dplyr")) {
|
||||
#' # use the new variable in further analyses
|
||||
#' # THOUGH CONSIDER wisca() FOR RELIABLE ESTIMATES
|
||||
#' example_isolates %>%
|
||||
#' mutate(TZP_GEN = sir_combine(TZP, GEN)) %>%
|
||||
#' group_by(ward) %>%
|
||||
#' summarise(
|
||||
#' TZP = susceptibility(TZP),
|
||||
#' GEN = susceptibility(GEN),
|
||||
#' TZP_mono = susceptibility(TZP),
|
||||
#' GEN_mono = susceptibility(GEN),
|
||||
#' TZP_GEN = susceptibility(TZP_GEN),
|
||||
#' # or directly, without combining first:
|
||||
#' TZP_GEN2 = susceptibility(TZP, GEN)
|
||||
|
||||
+3
-2
@@ -81,12 +81,13 @@ if (require("dplyr")) {
|
||||
}
|
||||
if (require("dplyr")) {
|
||||
# use the new variable in further analyses
|
||||
# THOUGH CONSIDER wisca() FOR RELIABLE ESTIMATES
|
||||
example_isolates \%>\%
|
||||
mutate(TZP_GEN = sir_combine(TZP, GEN)) \%>\%
|
||||
group_by(ward) \%>\%
|
||||
summarise(
|
||||
TZP = susceptibility(TZP),
|
||||
GEN = susceptibility(GEN),
|
||||
TZP_mono = susceptibility(TZP),
|
||||
GEN_mono = susceptibility(GEN),
|
||||
TZP_GEN = susceptibility(TZP_GEN),
|
||||
# or directly, without combining first:
|
||||
TZP_GEN2 = susceptibility(TZP, GEN)
|
||||
|
||||
Reference in new issue
Block a user