rowCumSum | R Documentation |
Fast computation of t(apply(x,1,cumsum))
rowCumSum(x)
x |
A matrix. |
A matrix of same size as x.
Thomas Alexander Gerds <tag@biostat.ku.dk>
x <- matrix(1:8,ncol=2)
rowCumSum(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.