1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-08 16:42:10 +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

@ -34,12 +34,13 @@
#' @inheritSection AMR Read more on our website!
#' @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