cumsum {freegroup}R Documentation

Cumulative sum

Description

Cumulative sum of free vectors

Usage

## S3 method for class 'free'
cumsum(x)

Arguments

x

Vector of class free

Author(s)

Robin K. S. Hankin

See Also

sum

Examples

abc(1:6)
cumsum(abc(1:6))

x <- rfree(10,2)
cumsum(c(x,-rev(x)))

[Package freegroup version 1.1-8 Index]