From b39e7feae6cac540ffc07b0ea5bd67ebdbb67b5c Mon Sep 17 00:00:00 2001 From: "Matthijs S. Berends" Date: Thu, 26 Sep 2019 21:58:06 +0200 Subject: [PATCH] (v0.7.1.9090) factor levels of mdr_tb --- DESCRIPTION | 4 +- NEWS.md | 5 +- R/mdro.R | 2 +- docs/404.html | 2 +- docs/LICENSE-text.html | 2 +- docs/articles/MDR.html | 101 ++++++++++++++++++++------------------ docs/articles/index.html | 2 +- docs/authors.html | 2 +- docs/index.html | 2 +- docs/news/index.html | 12 +++-- docs/reference/index.html | 2 +- vignettes/MDR.Rmd | 2 +- 12 files changed, 73 insertions(+), 65 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index e0224063..564520f7 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: AMR -Version: 0.7.1.9089 -Date: 2019-09-25 +Version: 0.7.1.9090 +Date: 2019-09-26 Title: Antimicrobial Resistance Analysis Authors@R: c( person(role = c("aut", "cre"), diff --git a/NEWS.md b/NEWS.md index 5a548dc6..3ed9abaf 100755 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,5 @@ -# AMR 0.7.1.9089 -Last updated: 25-Sep-2019 +# AMR 0.7.1.9090 +Last updated: 26-Sep-2019 ### Breaking * Determination of first isolates now **excludes** all 'unknown' microorganisms at default, i.e. microbial code `"UNKNOWN"`. They can be included with the new parameter `include_unknown`: @@ -118,6 +118,7 @@ * Fix for determining the system's language * Fix for `key_antibiotics()` on foreign systems * Added 80 new LIS codes for microorganisms +* Relabeled the factor levels of `mdr_tb()` #### Other * Added Prof. Dr. Casper Albers as doctoral advisor and added Dr. Judith Fonville, Eric Hazenberg, Dr. Bart Meijer, Dr. Dennis Souverein and Annick Lenglet as contributors diff --git a/R/mdro.R b/R/mdro.R index ea61aed2..d7d47303 100755 --- a/R/mdro.R +++ b/R/mdro.R @@ -484,7 +484,7 @@ mdro <- function(x, if (guideline$code == "tb") { factor(x = x$mdr_tb, levels = 1:5, - labels = c("Negative", "Mono-resistance", "Poly-resistance", "Multidrug resistance", "Extensive drug resistance"), + labels = c("Negative", "Mono-resistant", "Poly-resistant", "Multi-drug-resistant", "Extensive drug-resistant"), ordered = TRUE) } else { factor(x = x$MDRO, diff --git a/docs/404.html b/docs/404.html index 643eb395..67f11399 100644 --- a/docs/404.html +++ b/docs/404.html @@ -84,7 +84,7 @@ AMR (for R) - 0.7.1.9089 + 0.7.1.9090 diff --git a/docs/LICENSE-text.html b/docs/LICENSE-text.html index a5f17d54..c429c417 100644 --- a/docs/LICENSE-text.html +++ b/docs/LICENSE-text.html @@ -84,7 +84,7 @@ AMR (for R) - 0.7.1.9089 + 0.7.1.9090 diff --git a/docs/articles/MDR.html b/docs/articles/MDR.html index 35cc8d77..c1ba5393 100644 --- a/docs/articles/MDR.html +++ b/docs/articles/MDR.html @@ -13,8 +13,9 @@ - - + + + @@ -40,7 +41,7 @@ AMR (for R) - 0.7.1.9055 + 0.7.1.9090 @@ -165,7 +166,7 @@ -