mirror of
https://github.com/msberends/AMR.git
synced 2025-09-06 04:09:39 +02:00
Replace RSI with SIR
This commit is contained in:
committed by
GitHub
parent
24b12024ce
commit
98e62c9af2
@@ -29,7 +29,7 @@ An \link{integer} with additional class \code{\link{disk}}
|
||||
This transforms a vector to a new class \code{\link{disk}}, which is a disk diffusion growth zone size (around an antibiotic disk) in millimetres between 6 and 50.
|
||||
}
|
||||
\details{
|
||||
Interpret disk values as RSI values with \code{\link[=as.rsi]{as.rsi()}}. It supports guidelines from EUCAST and CLSI.
|
||||
Interpret disk values as SIR values with \code{\link[=as.sir]{as.sir()}}. It supports guidelines from EUCAST and CLSI.
|
||||
|
||||
Disk diffusion growth zone sizes must be between 6 and 50 millimetres. Values higher than 50 but lower than 100 will be maximised to 50. All others input values outside the 6-50 range will return \code{NA}.
|
||||
|
||||
@@ -54,8 +54,8 @@ if (require("dplyr")) {
|
||||
}
|
||||
}
|
||||
|
||||
# interpret disk values, see ?as.rsi
|
||||
as.rsi(
|
||||
# interpret disk values, see ?as.sir
|
||||
as.sir(
|
||||
x = as.disk(18),
|
||||
mo = "Strep pneu", # `mo` will be coerced with as.mo()
|
||||
ab = "ampicillin", # and `ab` with as.ab()
|
||||
@@ -63,9 +63,9 @@ as.rsi(
|
||||
)
|
||||
|
||||
# interpret whole data set, pretend to be all from urinary tract infections:
|
||||
as.rsi(df, uti = TRUE)
|
||||
as.sir(df, uti = TRUE)
|
||||
}
|
||||
\seealso{
|
||||
\code{\link[=as.rsi]{as.rsi()}}
|
||||
\code{\link[=as.sir]{as.sir()}}
|
||||
}
|
||||
\keyword{datasets}
|
||||
|
Reference in New Issue
Block a user