cumulative | R Documentation |
Returns cumulative vector values of neighboring vector elements.
cumulative(x)
x |
A numeric vector. |
A list containing:
cum_min |
The cumulative minima of the elements of |
cum_max |
The cumulative maxima of the elements of |
sum |
The sum of the elements of |
cum_sum |
The cumulative sum of the elements of |
prod |
The product of the elements of |
cum_prod |
The cumulative product of the elements of |
Stu Field
cumsum()
, cumprod()
## Not run: ?cumsum ## End(Not run) cumulative(1:10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.