Skip to content

Commit

Permalink
Fix typo + adjust naming of sliding median example
Browse files Browse the repository at this point in the history
  • Loading branch information
brookslogan committed Nov 7, 2024
1 parent f898bcb commit 94f4efa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/slide.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 94f4efa

Please sign in to comment.