cumsumbelow | R Documentation |
Function that calculates the cumulative sum of values less than or equal to a given value.
cumsumbelow(vals)
vals |
Object of numeric or integer class. |
Returns list of values representing cumulative sum of 'val' values less than or equal to the input.
vals <- 1:10
cumsumbelow(vals)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.