From cb52db4ce54495179c374c3479b430488cec43e4 Mon Sep 17 00:00:00 2001 From: Dmitry Shemetov Date: Mon, 9 Sep 2024 17:06:47 -0700 Subject: [PATCH] Update R/slide.R Co-authored-by: brookslogan --- R/slide.R | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/R/slide.R b/R/slide.R index 297abeba..a96792f7 100644 --- a/R/slide.R +++ b/R/slide.R @@ -12,13 +12,13 @@ #' section for more. If a function, `.f` must have the form `function(x, g, t, #' ...)`, where #' -#' - "x" is a data frame with the same column names as the original object, +#' - `x` is a data frame with the same column names as the original object, #' minus any grouping variables, with only the windowed data for one #' group-`.ref_time_value` combination -#' - "g" is a one-row tibble containing the values of the grouping variables +#' - `g` is a one-row tibble containing the values of the grouping variables #' for the associated group -#' - "t" is the ref_time_value for the current window -#' - "..." are additional arguments +#' - `t` is the `.ref_time_value` for the current window +#' - `...` are additional arguments #' #' If a formula, `.f` can operate directly on columns accessed via `.x$var` or #' `.$var`, as in `~mean(.x$var)` to compute a mean of a column `var` for each