mirror of
https://github.com/msberends/AMR.git
synced 2025-07-08 07:11:57 +02:00
(v0.7.1.9090) factor levels of mdr_tb
This commit is contained in:
2
R/mdro.R
2
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,
|
||||
|
Reference in New Issue
Block a user