colCumMaxs: Colum-wise cumulative operations (sum, prod, min, max)

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/cumulative.R

Description

Colum-wise cumulative operations (sum, prod, min, max).

Usage

1
2
3
4

Arguments

x

A numerical matrix.

Details

Cumulative mins, maxs, sums and prods are returned.

Value

A matrix with the results. It has one row less than the initial matrix.

Author(s)

Manos Papadakis and Michail Tsagris

R implementation and documentation: Manos Papadakis <papadakm95@gmail.com> and Michail Tsagris <mtsagris@uoc.gr>.

See Also

colsums, colMedians, colVars

Examples

1
2
3
4
5
x <- matrnorm(10, 10)
res<-colCumSums(x)
res<-colCumMins(x)
res<-colCumMaxs(x)
res<-colCumProds(x)

Rfast documentation built on May 18, 2021, 1:07 a.m.