| rcumsum {FSA} | R Documentation |
Computes the reverse cumulative sum (i.e., the number that large or larger) of a vector.
rcumsum(x)
x |
a numeric object. |
An NA in the vector causes all returned values to be NA.
A numeric vector containing the reverse cumulative sums.
Derek H. Ogle, dogle@northland.edu
cumsum.
cumsum(1:10) rcumsum(1:10)