CumSum: Cummulative sums

Description Usage Arguments Details Value Author(s) Examples

View source: R/CumSum.R

Description

Cummulative sums

Usage

1
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

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

MultBiplotR documentation built on April 6, 2021, 9:08 a.m.