Skip to content

Commit

Permalink
Update documentation to use correct argument name (#1123)
Browse files Browse the repository at this point in the history
  • Loading branch information
hathawayj authored Jul 15, 2024
1 parent 624747e commit 215a01a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/reduce.R
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ seq_len2 <- function(start, end) {
#' set_names(paste0("sim", 1:5)) |>
#' map(\(l) accumulate(l, \(acc, nxt) .05 + acc + nxt)) |>
#' map(\(x) tibble(value = x, step = 1:100)) |>
#' list_rbind(id = "simulation") |>
#' list_rbind(names_to = "simulation") |>
#' ggplot(aes(x = step, y = value)) +
#' geom_line(aes(color = simulation)) +
#' ggtitle("Simulations of a random walk with drift")
Expand Down
2 changes: 1 addition & 1 deletion man/accumulate.Rd

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

0 comments on commit 215a01a

Please sign in to comment.