mirror of
https://github.com/msberends/AMR.git
synced 2025-12-25 09:50:26 +01:00
Built site for AMR@3.0.1.9007: a5c6aa9
This commit is contained in:
@@ -648,10 +648,10 @@ sir_interpretation_history()
|
||||
#> # A tibble: 4 × 18
|
||||
#> datetime index method ab_given mo_given host_given input_given
|
||||
#> <dttm> <int> <chr> <chr> <chr> <chr> <chr>
|
||||
#> 1 2025-12-15 12:29:02 1 MIC amoxicillin Escherich… human 8
|
||||
#> 2 2025-12-15 12:29:02 1 MIC cipro Escherich… human 0.256
|
||||
#> 3 2025-12-15 12:29:02 1 DISK tobra Escherich… human 16
|
||||
#> 4 2025-12-15 12:29:03 1 DISK genta Escherich… human 18
|
||||
#> 1 2025-12-22 08:45:24 1 MIC amoxicillin Escherich… human 8
|
||||
#> 2 2025-12-22 08:45:24 1 MIC cipro Escherich… human 0.256
|
||||
#> 3 2025-12-22 08:45:24 1 DISK tobra Escherich… human 16
|
||||
#> 4 2025-12-22 08:45:24 1 DISK genta Escherich… human 18
|
||||
#> # ℹ 11 more variables: ab <ab>, mo <mo>, host <chr>, input <chr>,
|
||||
#> # outcome <sir>, notes <chr>, guideline <chr>, ref_table <chr>, uti <lgl>,
|
||||
#> # breakpoint_S_R <chr>, site <chr>
|
||||
@@ -852,12 +852,12 @@ as.sir(
|
||||
# For CLEANING existing SIR values -------------------------------------
|
||||
|
||||
as.sir(c("S", "SDD", "I", "R", "NI", "A", "B", "C"))
|
||||
#> Warning: in `as.sir()`: 3 results in index '20' truncated (38%) that were invalid
|
||||
#> Warning: in `as.sir()`: 3 results in index '21' truncated (38%) that were invalid
|
||||
#> antimicrobial interpretations: "A", "B", and "C"
|
||||
#> Class 'sir'
|
||||
#> [1] S SDD I R NI <NA> <NA> <NA>
|
||||
as.sir("<= 0.002; S") # will return "S"
|
||||
#> Warning: in `as.sir()`: 1 result in index '20' truncated (100%) that were invalid
|
||||
#> Warning: in `as.sir()`: 1 result in index '21' truncated (100%) that were invalid
|
||||
#> antimicrobial interpretations: "<= 0.002; S"
|
||||
#> Class 'sir'
|
||||
#> [1] <NA>
|
||||
|
||||
Reference in New Issue
Block a user