1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-09 21:42:01 +02:00

(v2.1.1.9042) update translations and example isolates

This commit is contained in:
2024-06-09 11:31:04 +02:00
parent af74e1d4f2
commit a3071cf58b
8 changed files with 42 additions and 23 deletions

View File

@ -34,10 +34,10 @@ is_sir_eligible(x, threshold = 0.05)
\method{as.sir}{default}(
x,
S = "^(S|U)+$",
I = "^(I|H)+$",
I = "^(I)+$",
R = "^(R)+$",
N = "^(N|V)+$",
SDD = "^(SDD|D)+$",
SDD = "^(SDD|D|H)+$",
...
)
@ -96,7 +96,7 @@ sir_interpretation_history(clean = FALSE)
\item{threshold}{maximum fraction of invalid antimicrobial interpretations of \code{x}, see \emph{Examples}}
\item{S, I, R, N, SDD}{a case-independent \link[base:regex]{regular expression} to translate input to this result. This regular expression will be run \emph{after} all non-letters are removed from the input.}
\item{S, I, R, N, SDD}{a case-independent \link[base:regex]{regular expression} to translate input to this result. This regular expression will be run \emph{after} all non-letters and whitespaces are removed from the input.}
\item{mo}{a vector (or column name) with \link{character}s that can be coerced to valid microorganism codes with \code{\link[=as.mo]{as.mo()}}, can be left empty to determine it automatically}