AMR/man/rsi.Rd

26 lines
1.1 KiB
Plaintext
Raw Normal View History

2018-08-03 14:49:29 +02:00
% Generated by roxygen2: do not edit by hand
2018-08-10 15:01:05 +02:00
% Please edit documentation in R/rsi.R
2018-08-03 14:49:29 +02:00
\name{rsi}
\alias{rsi}
\title{Calculate resistance of isolates}
\usage{
2018-08-10 15:01:05 +02:00
rsi(ab1, ab2 = NULL, interpretation = "IR", minimum = 30,
as_percent = FALSE, ...)
2018-08-03 14:49:29 +02:00
}
\arguments{
2018-08-10 15:01:05 +02:00
\item{ab1}{vector of antibiotic interpretations, they will be transformed internally with \code{\link{as.rsi}} if needed}
2018-08-03 14:49:29 +02:00
2018-08-10 15:01:05 +02:00
\item{ab2}{like \code{ab}, a vector of antibiotic interpretations. Use this to calculate (the lack of) co-resistance: the probability where one of two drugs have a resistant or susceptible result. See Examples.}
2018-08-03 14:49:29 +02:00
2018-08-10 15:01:05 +02:00
\item{interpretation}{antimicrobial interpretation to check for}
2018-08-03 14:49:29 +02:00
\item{minimum}{minimal amount of available isolates. Any number lower than \code{minimum} will return \code{NA}. The default number of \code{30} isolates is advised by the CLSI as best practice, see Source.}
\item{as_percent}{logical to indicate whether the output must be returned as percent (text), will else be a double}
2018-08-10 15:01:05 +02:00
\item{...}{deprecated parameters to support usage on older versions}
2018-08-03 14:49:29 +02:00
}
\description{
2018-08-10 15:01:05 +02:00
This function is deprecated. Use the \code{\link{portion}} functions instead.
2018-08-03 14:49:29 +02:00
}