From 153cd0d5c1923fcff69f30e0e03f4c184a768b45 Mon Sep 17 00:00:00 2001 From: Daniel Comeaux Date: Thu, 28 Dec 2023 10:11:17 -0600 Subject: [PATCH] typo --- R/geom_pandemics.R | 2 +- man/geom_pandemics.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/geom_pandemics.R b/R/geom_pandemics.R index 3be9a80..37341db 100644 --- a/R/geom_pandemics.R +++ b/R/geom_pandemics.R @@ -84,7 +84,7 @@ #' #' # A plot with a date-based x axis #' ggplot(df, mapping = aes(x = year_date, y = value)) + -#' geom_rpandemics(xformat = "date", show.legend = TRUE) + +#' geom_pandemics(xformat = "date", show.legend = TRUE) + #' geom_line(aes(color = var)) + #' scale_x_date() + #' theme_minimal() diff --git a/man/geom_pandemics.Rd b/man/geom_pandemics.Rd index c9eaad8..12c12e5 100644 --- a/man/geom_pandemics.Rd +++ b/man/geom_pandemics.Rd @@ -123,7 +123,7 @@ ggplot(df, mapping = aes(x = year_dec, y = value)) + # A plot with a date-based x axis ggplot(df, mapping = aes(x = year_date, y = value)) + - geom_rpandemics(xformat = "date", show.legend = TRUE) + + geom_pandemics(xformat = "date", show.legend = TRUE) + geom_line(aes(color = var)) + scale_x_date() + theme_minimal()