Reduce from the right (retired)
These functions are retired as of purrr 0.3.0. Please use the
.dir
argument of reduce()
instead, or reverse your vectors
and use a left reduction.
reduce_right(.x, .f, ..., .init) reduce2_right(.x, .y, .f, ..., .init) accumulate_right(.x, .f, ..., .init)
.x |
A list or atomic vector. |
.f |
For For The reduction terminates early if |
... |
Additional arguments passed on to the mapped function. |
.init |
If supplied, will be used as the first value to start
the accumulation, rather than using |
.y |
For |
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.