Re: [R] Help with storage of each matrix generated in a loop

2009-01-12 Thread David Winsemius
If you are satisfied with the structure of cusumA and just want 999 more randome realizations of the same, then try creating an empty list to hold the 1000 dataframes you are creating and then accumulate sequentially to the list. > mat <- matrix(data=rep(c(1,2,3,4,5), 16), nrow=16, ncol=5)

[R] Help with storage of each matrix generated in a loop

2009-01-12 Thread rafamoral
I need to store each matrix generated in a loop. I've been working with the CUSUM algorithm and I've been trying to implement it in R. What I need to do with my dataset is to create 1000 randomized datasets and cumulative sum them all and store all of those randomized CUSUMed datasets for further