mirror of
https://github.com/msberends/AMR.git
synced 2025-07-17 19:53:16 +02:00
(v1.7.1.9054) mdro() update - fixes #49, first_isolate() speedup
This commit is contained in:
@ -1,17 +1,24 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/rsi.R
|
||||
\docType{data}
|
||||
\name{as.rsi}
|
||||
\alias{as.rsi}
|
||||
\alias{rsi}
|
||||
\alias{NA_rsi_}
|
||||
\alias{is.rsi}
|
||||
\alias{is.rsi.eligible}
|
||||
\alias{as.rsi.mic}
|
||||
\alias{as.rsi.disk}
|
||||
\alias{as.rsi.data.frame}
|
||||
\title{Interpret MIC and Disk Values, or Clean Raw R/SI Data}
|
||||
\format{
|
||||
An object of class \code{rsi} (inherits from \code{ordered}, \code{factor}) of length 1.
|
||||
}
|
||||
\usage{
|
||||
as.rsi(x, ...)
|
||||
|
||||
NA_rsi_
|
||||
|
||||
is.rsi(x)
|
||||
|
||||
is.rsi.eligible(x, threshold = 0.05)
|
||||
@ -125,6 +132,8 @@ The function \code{\link[=is.rsi]{is.rsi()}} detects if the input contains class
|
||||
|
||||
The function \code{\link[=is.rsi.eligible]{is.rsi.eligible()}} returns \code{TRUE} when a columns contains at most 5\% invalid antimicrobial interpretations (not S and/or I and/or R), and \code{FALSE} otherwise. The threshold of 5\% can be set with the \code{threshold} argument. If the input is a \link{data.frame}, it iterates over all columns and returns a \link{logical} vector.
|
||||
}
|
||||
|
||||
\code{NA_rsi_} is a missing value of the new \verb{<rsi>} class.
|
||||
}
|
||||
\section{Interpretation of R and S/I}{
|
||||
|
||||
@ -247,3 +256,4 @@ if (require("dplyr")) {
|
||||
\seealso{
|
||||
\code{\link[=as.mic]{as.mic()}}, \code{\link[=as.disk]{as.disk()}}, \code{\link[=as.mo]{as.mo()}}
|
||||
}
|
||||
\keyword{datasets}
|
||||
|
Reference in New Issue
Block a user