mirror of
https://github.com/msberends/AMR.git
synced 2025-07-18 00:03:24 +02:00
(v0.7.1.9063) septic_patients -> example_isolates
This commit is contained in:
@ -96,12 +96,12 @@ freq(rsi_data) # frequency table with informative header
|
||||
|
||||
# using dplyr's mutate
|
||||
library(dplyr)
|
||||
septic_patients \%>\%
|
||||
example_isolates \%>\%
|
||||
mutate_at(vars(PEN:RIF), as.rsi)
|
||||
|
||||
|
||||
# fastest way to transform all columns with already valid AB results to class `rsi`:
|
||||
septic_patients \%>\%
|
||||
example_isolates \%>\%
|
||||
mutate_if(is.rsi.eligible,
|
||||
as.rsi)
|
||||
|
||||
|
Reference in New Issue
Block a user