CumSum: Cummulative sums

View source: R/CumSum.R

CumSumR Documentation

Cummulative sums

Description

Cummulative sums

Usage

CumSum(X, dimens = 1)

Arguments

X

Data Matrix

dimens

Dimension for summing

Details

Cummulative sums within rows (dimens=1) or columns (dimens=2) of a data matrix

Value

A matrix of the same size as X with cummulative sums within each row or each column

Author(s)

Jose Luis Vicente Villardon

Examples

data(wine)
X=wine[,4:21]
CumSum(X,1)
CumSum(X,2)

MultBiplotR documentation built on Nov. 21, 2023, 5:08 p.m.