2019-05-10 16:44:59 +02:00
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/disk.R
\name{as.disk}
\alias{as.disk}
2019-11-06 14:43:23 +01:00
\alias{disk}
2019-05-10 16:44:59 +02:00
\alias{is.disk}
\title{Class 'disk'}
\usage{
as.disk(x, na.rm = FALSE)
is.disk(x)
}
\arguments{
\item{x}{vector}
\item{na.rm}{a logical indicating whether missing values should be removed}
}
\value{
2019-11-28 22:32:17 +01:00
Ordered integer factor with new class \code{\link{disk}}
2019-05-10 16:44:59 +02:00
}
\description{
2019-11-28 22:32:17 +01:00
This transforms a vector to a new class \code{\link{disk}}, which is a growth zone size (around an antibiotic disk) in millimeters between 6 and 99.
2019-05-10 16:44:59 +02:00
}
\details{
2019-11-28 22:32:17 +01:00
Interpret disk values as RSI values with \code{\link[=as.rsi]{as.rsi()}}. It supports guidelines from EUCAST and CLSI.
2019-05-10 16:44:59 +02:00
}
\section{Read more on our website!}{
2019-05-31 14:25:11 +02:00
On our website \url{https://msberends.gitlab.io/AMR} you can find \href{https://msberends.gitlab.io/AMR/articles/AMR.html}{a tutorial} about how to conduct AMR analysis, the \href{https://msberends.gitlab.io/AMR/reference}{complete documentation of all functions} (which reads a lot easier than here in R) and \href{https://msberends.gitlab.io/AMR/articles/WHONET.html}{an example analysis using WHONET data}.
2019-05-10 16:44:59 +02:00
}
\examples{
# interpret disk values
as.rsi(x = 12,
mo = as.mo("S. pneumoniae"),
ab = "AMX",
guideline = "EUCAST")
as.rsi(x = 12,
mo = as.mo("S. pneumoniae"),
ab = "AMX",
guideline = "CLSI")
}
\seealso{
2019-11-28 22:32:17 +01:00
\code{\link[=as.rsi]{as.rsi()}}
2019-05-10 16:44:59 +02:00
}