diff --git a/DESCRIPTION b/DESCRIPTION index 40c47a7b..07331519 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,5 +1,5 @@ Package: AMR -Version: 0.9.0.9026 +Version: 0.9.0.9027 Date: 2020-02-17 Title: Antimicrobial Resistance Analysis Authors@R: c( diff --git a/NEWS.md b/NEWS.md index 85905b4e..96b6fc70 100755 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# AMR 0.9.0.9026 +# AMR 0.9.0.9027 ## Last updated: 17-Feb-2020 ### New diff --git a/R/disk.R b/R/disk.R index 90955064..515520f5 100644 --- a/R/disk.R +++ b/R/disk.R @@ -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 diff --git a/docs/404.html b/docs/404.html index a805869c..a2e17c45 100644 --- a/docs/404.html +++ b/docs/404.html @@ -78,7 +78,7 @@ AMR (for R) - 0.9.0.9026 + 0.9.0.9027 diff --git a/docs/LICENSE-text.html b/docs/LICENSE-text.html index 0f23ed33..cffd5428 100644 --- a/docs/LICENSE-text.html +++ b/docs/LICENSE-text.html @@ -78,7 +78,7 @@ AMR (for R) - 0.9.0.9026 + 0.9.0.9027 diff --git a/docs/articles/index.html b/docs/articles/index.html index d1d4c8f9..3b9f35fc 100644 --- a/docs/articles/index.html +++ b/docs/articles/index.html @@ -78,7 +78,7 @@ AMR (for R) - 0.9.0.9026 + 0.9.0.9027 diff --git a/docs/authors.html b/docs/authors.html index 360959d3..fe9ef45c 100644 --- a/docs/authors.html +++ b/docs/authors.html @@ -78,7 +78,7 @@ AMR (for R) - 0.9.0.9026 + 0.9.0.9027 diff --git a/docs/index.html b/docs/index.html index b09a32db..882df264 100644 --- a/docs/index.html +++ b/docs/index.html @@ -43,7 +43,7 @@ AMR (for R) - 0.9.0.9026 + 0.9.0.9027 diff --git a/docs/news/index.html b/docs/news/index.html index 7c999ff0..08fca132 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -78,7 +78,7 @@ AMR (for R) - 0.9.0.9026 + 0.9.0.9027 @@ -219,9 +219,9 @@ -
+

-AMR 0.9.0.9026 Unreleased +AMR 0.9.0.9027 Unreleased

@@ -1450,7 +1450,7 @@

Contents

@@ -266,12 +266,13 @@ The lifecycle of this function is stableExamples

# 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
diff --git a/docs/reference/index.html b/docs/reference/index.html
index 1f355a8e..ae5adcca 100644
--- a/docs/reference/index.html
+++ b/docs/reference/index.html
@@ -78,7 +78,7 @@
       
       
         AMR (for R)
-        0.9.0.9026
+        0.9.0.9027
       
     
diff --git a/man/as.disk.Rd b/man/as.disk.Rd index 7833839e..b9314e2e 100644 --- a/man/as.disk.Rd +++ b/man/as.disk.Rd @@ -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