(v1.7.1.9002) ab class selectors update

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2021-06-14 22:04:04 +02:00
1 parent 683a0e748a
commit 99be4c7e7e
36 files changed
+416 -198

No files matched your search

+44
View File
@@ -4,10 +4,13 @@
\alias{plot}
\alias{plot.mic}
\alias{ggplot.mic}
\alias{autoplot.mic}
\alias{plot.disk}
\alias{ggplot.disk}
\alias{autoplot.disk}
\alias{plot.rsi}
\alias{ggplot.rsi}
\alias{autoplot.rsi}
\title{Plotting for Classes \code{rsi}, \code{mic} and \code{disk}}
\usage{
\method{plot}{mic}(
@@ -39,6 +42,21 @@
...
)
\method{autoplot}{mic}(
data,
mapping = NULL,
title = paste("MIC values of", deparse(substitute(data))),
ylab = "Frequency",
xlab = "Minimum Inhibitory Concentration (mg/L)",
mo = NULL,
ab = NULL,
guideline = "EUCAST",
colours_RSI = c("#ED553B", "#3CAEA3", "#F6D55C"),
language = get_locale(),
expand = TRUE,
...
)
\method{plot}{disk}(
x,
main = paste("Disk zones of", deparse(substitute(x))),
@@ -68,6 +86,21 @@
...
)
\method{autoplot}{disk}(
data,
mapping = NULL,
title = paste("Disk zones of", deparse(substitute(data))),
ylab = "Frequency",
xlab = "Disk diffusion diameter (mm)",
mo = NULL,
ab = NULL,
guideline = "EUCAST",
colours_RSI = c("#ED553B", "#3CAEA3", "#F6D55C"),
language = get_locale(),
expand = TRUE,
...
)
\method{plot}{rsi}(
x,
ylab = "Percentage",
@@ -86,6 +119,17 @@
language = get_locale(),
...
)
\method{autoplot}{rsi}(
data,
mapping = NULL,
title = paste("Resistance Overview of", deparse(substitute(data))),
xlab = "Antimicrobial Interpretation",
ylab = "Frequency",
colours_RSI = c("#ED553B", "#3CAEA3", "#F6D55C"),
language = get_locale(),
...
)
}
\arguments{
\item{x, data}{MIC values created with \code{\link[=as.mic]{as.mic()}} or disk diffusion values created with \code{\link[=as.disk]{as.disk()}}}