cumsum.bounded: cumsum.bounded

View source: R/ie.R

cumsum.boundedR Documentation

cumsum.bounded

Description

cumsum.bounded

Usage

## S3 method for class 'bounded'
cumsum(x, lower = 0, upper = 500)

Arguments

x

vector of values to cumsum

lower

lower bound

upper

upper bound

Details

cumsum function but with bounds. Used to create a bounded random walk.


elisvb/CCAM documentation built on March 13, 2023, 6:55 a.m.