1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-08 09:51:48 +02:00
This commit is contained in:
2018-10-23 14:59:36 +02:00
parent 0062a3facb
commit 707aa20a37
6 changed files with 12 additions and 25 deletions

View File

@ -329,11 +329,6 @@ MDRO <- function(tbl,
& rowSums(tbl[, aminoglycosides] == 'R', na.rm = TRUE) >= 1
& rowSums(tbl[, fluoroquinolones] == 'R', na.rm = TRUE) >= 1
), 'MDRO'] <- 4
a <<- tbl[which(
tbl$family == 'Enterobacteriaceae'
& rowSums(tbl[, aminoglycosides] == 'R', na.rm = TRUE) >= 1
& rowSums(tbl[, fluoroquinolones] == 'R', na.rm = TRUE) >= 1
), ]
tbl[which(
tbl$family == 'Enterobacteriaceae'
& rowSums(tbl[, carbapenems] == 'R', na.rm = TRUE) >= 1