1
0
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:
2019-08-27 16:45:42 +02:00
parent 7a6fce4eb8
commit 93be16484b
92 changed files with 1143 additions and 818 deletions

View File

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