On Thu, Dec 24, 2009 at 4:38 AM, Brian G. Peterson <br...@braverock.com>wrote:

>
> data <- matrix(rnorm(100), nrow=10)  # 10 x 10
> apply(data,2,cumsum)
>
> if you want to store the partial sums
> (that was an important bit of information you left out)
>
>
Thank you for your suggestion. However, I gave information only about what I
was interested in and I got my answer immediately.

Cheers,
Francesco.

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to