From c75de3829a5e07c4858030c987919bbe4ce9e75d Mon Sep 17 00:00:00 2001 From: "Logan C. Brooks" Date: Thu, 7 Nov 2024 14:49:45 -0800 Subject: [PATCH] Fix typo + adjust naming of sliding median example --- R/slide.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/slide.R b/R/slide.R index e7325e66..3064b087 100644 --- a/R/slide.R +++ b/R/slide.R @@ -6,8 +6,8 @@ #' as follows: #' #' ``` -#' # Create new column `cases_7dm` that contains a 7-day trailing median of cases -#' epi_slide(edf, cases_7dav = median(cases), .window_size = 7) +#' # Create new column `cases_7dmed` that contains a 7-day trailing median of cases +#' epi_slide(edf, cases_7dmed = median(cases), .window_size = 7) #' ``` #' #' For two very common use cases, we provide optimized functions that are much