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

Colum-wise cumulative operations (sum, prod, min, max) {Rfast} | R Documentation

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

### Description

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

### Usage

    colCumSums(x)
    colCumProds(x)
    colCumMins(x)
    colCumMaxs(x)

### 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

    x <- matrnorm(10, 10)
    res<-colCumSums(x)
    res<-colCumMins(x)
    res<-colCumMaxs(x)
    res<-colCumProds(x)

[Package Rfast version 2.0.4 Index]