reduce: Nickname for Reduce

Description Usage Arguments

Description

Reduce elements of the list with a function

Usage

1
reduce(f, x, init, right = FALSE, accumulate = FALSE)

Arguments

f

(ac,it) -> ac, a function from an accumulating value and a current item to the next value

init

an initial value - otherwise lst[[1]] is used

lst

a list of items


VincentToups/fugu documentation built on May 9, 2019, 10:01 p.m.