(v1.2.0.9016) fix in rsi_calc()

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2020-06-26 10:21:22 +02:00
1 parent 033ca49817
commit b31003c0b6
21 files changed
+71 -61

No files matched your search

+1 -1
View File
@@ -209,7 +209,7 @@ as.ab <- function(x, ...) {
# correct for digital reading text (OCR)
x_spelling <- gsub("[NRD]", "[NRD]", x_spelling)
}
# try if name starts with it
found <- antibiotics[which(antibiotics$name %like% paste0("^", x_spelling)), ]$ab
if (length(found) > 0) {