diff --git a/DESCRIPTION b/DESCRIPTION
index 7b8bab26..83f5cdad 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -1,5 +1,5 @@
Package: AMR
-Version: 1.7.1.9020
+Version: 1.7.1.9021
Date: 2021-07-12
Title: Antimicrobial Resistance Data Analysis
Authors@R: c(
diff --git a/NEWS.md b/NEWS.md
index 5041d829..86077f58 100755
--- a/NEWS.md
+++ b/NEWS.md
@@ -1,4 +1,4 @@
-# `AMR` 1.7.1.9020
+# `AMR` 1.7.1.9021
## Last updated: 12 July 2021
### Changed
diff --git a/R/plot.R b/R/plot.R
index 3b68eb9f..c68b4f9d 100644
--- a/R/plot.R
+++ b/R/plot.R
@@ -201,7 +201,7 @@ barplot.mic <- function(height,
...)
}
-#' @method autplot mic
+#' @method autoplot mic
#' @rdname plot
# will be exported using s3_register() in R/zzz.R
autoplot.mic <- function(object,
diff --git a/R/resistance_predict.R b/R/resistance_predict.R
index fae7d544..5ba2855a 100755
--- a/R/resistance_predict.R
+++ b/R/resistance_predict.R
@@ -27,6 +27,7 @@
#'
#' Create a prediction model to predict antimicrobial resistance for the next years on statistical solid ground. Standard errors (SE) will be returned as columns `se_min` and `se_max`. See *Examples* for a real live example.
#' @inheritSection lifecycle Stable Lifecycle
+#' @param object model data to be plotted
#' @param col_ab column name of `x` containing antimicrobial interpretations (`"R"`, `"I"` and `"S"`)
#' @param col_date column name of the date, will be used to calculate years if this column doesn't consist of years already, defaults to the first column of with a date class
#' @param year_min lowest year to use in the prediction model, dafaults to the lowest year in `col_date`
diff --git a/data-raw/AMR_latest.tar.gz b/data-raw/AMR_latest.tar.gz
index 077fda62..fce2ac1e 100644
Binary files a/data-raw/AMR_latest.tar.gz and b/data-raw/AMR_latest.tar.gz differ
diff --git a/docs/404.html b/docs/404.html
index 7f9294c7..022953e0 100644
--- a/docs/404.html
+++ b/docs/404.html
@@ -81,7 +81,7 @@
NEWS.md
-
AMR
1.7.1.9020AMR
1.7.1.9021is.rsi.eligible()
now detects if the column name resembles an antibiotic name or code and now returns TRUE
immediately if the input contains any of the values “R”, “S” or “I”. This drastically improves speed, also for a lot of other functions that rely on automatic determination of antibiotic columns.
get_episode()
and is_new_episode()
now support less than a day as value for argument episode_days
(e.g., to include one patient/test per hour)ampc_cephalosporin_resistance
in eucast_rules()
now also applies to value “I” (not only “S”)print()
and summary()
on a Principal Components Analysis object (pca()
) now print additional group info if the original data was grouped using dplyr::group_by()
+print()
and summary()
on a Principal Components Analysis object (pca()
) now print additional group info if the original data was grouped using dplyr::group_by()
guess_ab_col()
. As this also internally improves the reliability of first_isolate()
and mdro()
, this might have a slight impact on the results of those functions.mo_name()
when used in other languages than Englishplot(<mic>)
autplot(<mic>)
plot(<disk>)
autoplot(<disk>)
plot(<rsi>)
autoplot(<rsi>)
plot(<mic>)
autoplot(<mic>)
plot(<disk>)
autoplot(<disk>)
plot(<rsi>)
autoplot(<rsi>)
Plotting for Classes rsi
, mic
and disk
a logical to indicate whether a ribbon should be shown (default) or error bars
model data to be plotted