Skip to content

Commit

Permalink
Clarify doc names
Browse files Browse the repository at this point in the history
Co-authored-by: brookslogan <[email protected]>
  • Loading branch information
nmdefries and brookslogan authored Mar 6, 2024
1 parent 18f5e61 commit 9982a49
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 @@ -367,7 +367,7 @@ epi_slide <- function(x, f, ..., before, after, ref_time_values,

#' Optimized slide function for performing rolling averages on an `epi_df` object
#'
#' Slides a n-timestep mean over variables in an `epi_df` object. See the [slide
#' Slides an n-timestep mean over variables in an `epi_df` object. See the [slide
#' vignette](https://cmu-delphi.github.io/epiprocess/articles/slide.html) for
#' examples.
#'
Expand Down Expand Up @@ -499,7 +499,7 @@ epi_slide <- function(x, f, ..., before, after, ref_time_values,
#' # slide a 14-day centre-aligned average
#' jhu_csse_daily_subset %>%
#' group_by(geo_value) %>%
#' epi_slide_mean("cases", new_col_name = "cases_7dav", names_sep = NULL, before = 6, after = 7) %>%
#' epi_slide_mean("cases", new_col_name = "cases_14dav", names_sep = NULL, before = 6, after = 7) %>%
#' # rmv a nonessential var. to ensure new col is printed
#' dplyr::select(-death_rate_7d_av)
epi_slide_mean = function(x, col_name, ..., before, after, ref_time_values,
Expand Down

0 comments on commit 9982a49

Please sign in to comment.