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

(v1.0.0.9003) prepare for short update

This commit is contained in:
2020-02-21 13:13:34 +01:00
parent 6408911922
commit bb3728f023
13 changed files with 45 additions and 36 deletions

View File

@ -108,6 +108,8 @@ df <- data.frame(microorganism = "E. coli",
NIT = as.mic(32))
as.rsi(df)
\donttest{
# the dplyr way
library(dplyr)
df \%>\%
@ -129,7 +131,8 @@ data.frame(mo = "E. coli",
df \%>\%
mutate_at(vars(AMP:NIT), as.rsi, mo = "E. coli", uti = TRUE)
}
# for single values
as.rsi(x = as.mic(2),
mo = as.mo("S. pneumoniae"),