cumsum_with_reset: Cumsum with reset

View source: R/cumsum_with_reset.R

cumsum_with_resetR Documentation

Cumsum with reset

Description

Cumsum with reset

Usage

cumsum_with_reset(x, reset = 0)

Arguments

x

numeric vector

reset

integer specifying reset value (default is zero)

Value

numeric vector of same length as x


kristian-bak/betting documentation built on Oct. 24, 2022, 1:35 p.m.