1
0
mirror of https://github.com/msberends/AMR.git synced 2025-09-02 13:04:03 +02:00

(v2.1.1.9233) chore: make all argument texts full sentences

This commit is contained in:
2025-03-31 14:53:24 +02:00
parent 63099cd81e
commit 1fdab84103
91 changed files with 720 additions and 701 deletions

View File

@@ -28,15 +28,15 @@ ggplot_sir_predict(x, main = paste("Resistance Prediction of", x_name),
\arguments{
\item{x}{A \link{data.frame} containing isolates. Can be left blank for automatic determination, see \emph{Examples}.}
\item{col_ab}{Column name of \code{x} containing antimicrobial interpretations (\code{"R"}, \code{"I"} and \code{"S"})}
\item{col_ab}{Column name of \code{x} containing antimicrobial interpretations (\code{"R"}, \code{"I"} and \code{"S"}).}
\item{col_date}{Column name of the date, will be used to calculate years if this column doesn't consist of years already - the default is the first column of with a date class}
\item{col_date}{Column name of the date, will be used to calculate years if this column doesn't consist of years already - the default is the first column of with a date class.}
\item{year_min}{Lowest year to use in the prediction model, dafaults to the lowest year in \code{col_date}}
\item{year_min}{Lowest year to use in the prediction model, dafaults to the lowest year in \code{col_date}.}
\item{year_max}{Highest year to use in the prediction model - the default is 10 years after today}
\item{year_max}{Highest year to use in the prediction model - the default is 10 years after today.}
\item{year_every}{Unit of sequence between lowest year found in the data and \code{year_max}}
\item{year_every}{Unit of sequence between lowest year found in the data and \code{year_max}.}
\item{minimum}{Minimal amount of available isolates per year to include. Years containing less observations will be estimated by the model.}
@@ -48,13 +48,13 @@ ggplot_sir_predict(x, main = paste("Resistance Prediction of", x_name),
\item{info}{A \link{logical} to indicate whether textual analysis should be printed with the name and \code{\link[=summary]{summary()}} of the statistical model.}
\item{...}{Arguments passed on to functions}
\item{...}{Arguments passed on to functions.}
\item{main}{Title of the plot}
\item{main}{Title of the plot.}
\item{ribbon}{A \link{logical} to indicate whether a ribbon should be shown (default) or error bars}
\item{ribbon}{A \link{logical} to indicate whether a ribbon should be shown (default) or error bars.}
\item{object}{Model data to be plotted}
\item{object}{Model data to be plotted.}
}
\value{
A \link{data.frame} with extra class \code{\link{resistance_predict}} with columns: