mirror of
https://github.com/msberends/AMR.git
synced 2026-06-29 14:56:24 +02:00
(v3.0.1.9079) docs: rename remaining 'antibiotic selectors'/'AB selectors' to 'antimicrobial selectors'/'AMR selectors'
* docs: rename remaining 'antibiotic selectors'/'AB selectors' to 'antimicrobial selectors'/'AMR selectors' Five leftover occurrences of the old terminology updated in the AMR vignette (section heading + code comment), the amr_selectors test file, and two roxygen example comments in amr_selectors.R. The auto-generated man/antimicrobial_selectors.Rd will update on the next devtools::document() run. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0169LucQ7SHDLHdTnDs1ENhd * fix --------- Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -437,7 +437,7 @@ example_isolates[, amr_selector(oral_ddd > 1 & oral_units == "g")]
|
||||
# data.table --------------------------------------------------------------
|
||||
|
||||
# data.table is supported as well, just use it in the same way as with
|
||||
# base R, but add `with = FALSE` if using a single AB selector.
|
||||
# base R, but add `with = FALSE` if using a single AMR selector.
|
||||
|
||||
if (require("data.table")) {
|
||||
dt <- as.data.table(example_isolates)
|
||||
@@ -450,7 +450,7 @@ if (require("data.table")) {
|
||||
dt[, carbapenems(), with = FALSE]
|
||||
}
|
||||
|
||||
# for multiple selections or AB selectors, `with = FALSE` is not needed:
|
||||
# for multiple selections or AMR selectors, `with = FALSE` is not needed:
|
||||
if (require("data.table")) {
|
||||
dt[, c("mo", aminoglycosides())]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user