Skip to content

Commit 7bf4c6a

Browse files
committed
Add missing dplyr import in slide example
1 parent b4bacf8 commit 7bf4c6a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

R/slide.R

+2
Original file line numberDiff line numberDiff line change
@@ -621,6 +621,8 @@ get_before_after_from_window <- function(window_size, align, time_type) {
621621
#' @export
622622
#' @seealso [`epi_slide`] for the more general slide function
623623
#' @examples
624+
#' library(dplyr)
625+
#'
624626
#' # Add a column (`cases_7dsum`) containing a 7-day trailing sum on `cases`:
625627
#' cases_deaths_subset %>%
626628
#' select(geo_value, time_value, cases) %>%

man/epi_slide_opt.Rd

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)