tis (version 1.37.1)

cumsum.tis: Cumulative Sums, Products, and Extremes

Description

Return a tis whose elements are the cumulative sums, products, minima or maxima of the elements of the argument.

Usage

# S3 method for tis
cumsum(x)
# S3 method for tis
cumprod(x)
# S3 method for tis
cummax(x)
# S3 method for tis
cummin(x)

Arguments

x

a tis series.

Value

A tis like x. An NA value in x causes the corresponding and following elements of the return value to be NA, as does integer overflow in cumsum (with a warning).

Details

These are tis methods for generic functions.

See Also

cumsum, cumprod, cummin, cummax