Description Usage Arguments Value Author(s) See Also Examples

Uses `cumsum`

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

.

1 |

`x` |
A |

`exclude.1st` |
A |

A `vector`

containing the cumulative sum.

Chris Brien

1 2 | ```
data(exampleData)
Area.cum <- cumulate(longi.dat$Area)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.