Colum-wise cumulative operations (sum, prod, min, max)
Colum-wise cumulative operations (sum, prod, min, max).
colCumSums(x) colCumProds(x) colCumMins(x) colCumMaxs(x)
x |
A numerical matrix. |
Cumulative mins, maxs, sums and prods are returned.
A matrix with the results. It has one row less than the initial matrix.
Manos Papadakis and Michail Tsagris
R implementation and documentation: Manos Papadakis <papadakm95@gmail.com> and Michail Tsagris <mtsagris@yahoo.gr>.
x <- matrnorm(10, 10) res<-colCumSums(x) res<-colCumMins(x) res<-colCumMaxs(x) res<-colCumProds(x)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.