Skip to content

Commit

Permalink
doc: fix step_lag_difference example
Browse files Browse the repository at this point in the history
  • Loading branch information
dshemetov committed Jun 27, 2024
1 parent abe8805 commit ff10f36
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions R/step_lag_difference.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@
#' @export
#' @examples
#' r <- epi_recipe(case_death_rate_subset) %>%
#' step_lag_difference(case_rate, death_rate, horizon = c(7, 14))
#' step_lag_difference(case_rate, death_rate, horizon = c(7, 14)) %>%
#' step_epi_naomit()
#' r
#'
#' r %>%
#' recipes::prep() %>%
#' recipes::prep(case_death_rate_subset) %>%
#' recipes::bake(case_death_rate_subset)
step_lag_difference <-
function(recipe,
Expand Down
5 changes: 3 additions & 2 deletions man/step_lag_difference.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ff10f36

Please sign in to comment.