Skip to content
Prev 205387 / 398506 Next

Extract vector elements until cumsum <= x

Mark Leeds pointed out to me that the last line should have been:

Reduce(f, x, accumulate = TRUE)

On Mon, Jan 4, 2010 at 8:43 AM, Gabor Grothendieck
<ggrothendieck at gmail.com> wrote: