cumsumbelow {isocat} | R Documentation |
Cumulative sum below value
Description
Function that calculates the cumulative sum of values less than or equal to a given value.
Usage
cumsumbelow(vals)
Arguments
vals |
Object of numeric or integer class. |
Value
Returns list of values representing cumulative sum of 'val' values less than or equal to the input.
Examples
vals <- 1:10
cumsumbelow(vals)
[Package isocat version 0.3.0 Index]