Skip to content

Commit 94f4efa

Browse files
committed
Fix typo + adjust naming of sliding median example
1 parent f898bcb commit 94f4efa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/slide.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
#' as follows:
77
#'
88
#' ```
9-
#' # Create new column `cases_7dm` that contains a 7-day trailing median of cases
10-
#' epi_slide(edf, cases_7dav = median(cases), .window_size = 7)
9+
#' # Create new column `cases_7dmed` that contains a 7-day trailing median of cases
10+
#' epi_slide(edf, cases_7dmed = median(cases), .window_size = 7)
1111
#' ```
1212
#'
1313
#' For two very common use cases, we provide optimized functions that are much

0 commit comments

Comments
 (0)