cumulate {imageData} | R Documentation |
Calculates the cumulative sum, ignoring the first element if exclude.1st is TRUE
Description
Uses cumsum
to calculate the cumulative sum, ignoring the first element
if exclude.1st is TRUE
.
Usage
cumulate(x, exclude.1st = FALSE)
Arguments
x |
A |
exclude.1st |
A |
Value
A vector
containing the cumulative sum.
Author(s)
Chris Brien
See Also
Examples
data(exampleData)
Area.cum <- cumulate(longi.dat$Area)
[Package imageData version 0.1-62 Index]