[R] Cumulative sum of vector

hadley wickham h.wickham at gmail.com
Sun Jan 6 15:51:02 CET 2008


On Jan 5, 2008 8:32 AM, Keith Jones <keithlj at suddenlink.net> wrote:
> Hi,
>
> Maybe I have not been looking in the right spot, but, I have not been
> able to fine a command to automatically calculate the running
> cumulative sum of a vector.  Is there such a command?

Try
help.search("cumulative sum")

Hadley

-- 
http://had.co.nz/




More information about the R-help mailing list