powered by
Fast computation of apply(x,2,cumprod)
colCumProd(x)
A matrix.
A matrix of same size as x.
# NOT RUN { x <- matrix(1:8,ncol=2) colCumProd(x) # }
Run the code above in your browser using DataLab