Re: [R] Divide matrix into multiple smaller matrices

2011-06-12 Thread mdvaan
Hi, I still haven't found a solution for this problem. Is there a way in which I can slice the objects in c based on the info in h? Thanks a lot! -- View this message in context: http://r.789695.n4.nabble.com/Divide-matrix-into-multiple-smaller-matrices-tp3552399p3591868.html Sent from the R hel

[R] Divide matrix into multiple smaller matrices

2011-05-26 Thread mdvaan
Hi list, Using the script below, I have generated two lists (c and h) containing yearly matrices. Now I would like to divide the matrices in c into multiple matrices based on h. The number of matrices should be equal to: length(unique(DF1$B))*length(h). So each unique value in DF1$B get's a yearly