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 8, 2024
1 parent ac12ec1 commit c75de38
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 c75de38

Please sign in to comment.