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

(v0.9.0.9027) documentation fix

This commit is contained in:
2020-02-17 15:07:25 +01:00
parent 5e2b294351
commit c8981a563e
12 changed files with 19 additions and 16 deletions

View File

@ -39,12 +39,13 @@ On our website \url{https://msberends.gitlab.io/AMR} you can find \href{https://
\examples{
# transform existing disk zones to the `disk` class
library(dplyr)
df <- data.frame(microorganism = "E. coli",
AMP = 20,
CIP = 14,
GEN = 18,
TOB = 16)
df <- df \%>\% mutate_at(vars(AMP:TOB, as.disk))
df <- df \%>\% mutate_at(vars(AMP:TOB), as.disk)
df
# interpret disk values, see ?as.rsi