(v1.7.1.9020) autoplot generics

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2021-07-12 20:24:49 +02:00
1 parent fc946564d1
commit 6838f03bde
27 files changed
+197 -341

No files matched your search

+4 -7
View File
@@ -5,9 +5,8 @@
\alias{rsi_predict}
\alias{plot.resistance_predict}
\alias{ggplot_rsi_predict}
\alias{ggplot.resistance_predict}
\alias{autoplot.resistance_predict}
\title{Predict antimicrobial resistance}
\title{Predict Antimicrobial Resistance}
\usage{
resistance_predict(
x,
@@ -48,10 +47,8 @@ ggplot_rsi_predict(
...
)
\method{ggplot}{resistance_predict}(x, main = paste("Resistance Prediction of", x_name), ribbon = TRUE, ...)
\method{autoplot}{resistance_predict}(
x,
object,
main = paste("Resistance Prediction of", x_name),
ribbon = TRUE,
...
@@ -174,9 +171,9 @@ if (require("dplyr") & require("ggplot2")) {
info = FALSE,
minimum = 15)
ggplot(data)
autoplot(data)
ggplot(as.data.frame(data),
ggplot(data,
aes(x = year)) +
geom_col(aes(y = value),
fill = "grey75") +