# cumulate

From growthPheno v1.0-13
by Chris Brien

##### Calculates the cumulative sum, ignoring the first element if exclude.1st is TRUE

Uses `cumsum`

to calculate the cumulative sum, ignoring the first element
if exclude.1st is `TRUE`

.

##### Usage

`cumulate(x, exclude.1st = FALSE)`

##### Arguments

##### Value

A `vector`

containing the cumulative sum.

##### See Also

##### Examples

```
# NOT RUN {
data(exampleData)
Area.cum <- cumulate(longi.dat$Area)
# }
```

*Documentation reproduced from package growthPheno, version 1.0-13, License: GPL (>= 2)*

### Community examples

Looks like there are no examples yet.