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

(v0.7.1.9090) factor levels of mdr_tb

This commit is contained in:
2019-09-26 21:58:06 +02:00
parent b9f01d686e
commit b39e7feae6
12 changed files with 73 additions and 65 deletions

View File

@ -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,