Re: [R] Break Matrix

From: SUMANTA BASAK <r_econometrics_at_yahoo.co.in>
Date: Thu 11 May 2006 - 20:10:04 EST


Hi,
Thanks for reply. I'm sorry that i forgot to mention that from 2nd matrix the first row values of the second matrix (and so on..) will be the first row (and so on..). Please help me.

Thanks,
SB.

Jacques VESLOT <jacques.veslot@good.ibl.fr> wrote: split(as.data.frame(matrix(rnorm(331*12),331,12)), gl(ceiling(331/12),12,331))



Jacques VESLOT

CNRS UMR 8090
I.B.L (2ème étage)
1 rue du Professeur Calmette
B.P. 245
59019 Lille Cedex

Tel : 33 (0)3.20.87.10.44
Fax : 33 (0)3.20.87.10.31

http://www-good.ibl.fr


SUMANTA BASAK a écrit :
> Hi All,
>
> I have a (331*12) matrix. I wan t to braek it into 28 parts each window having 12 rows, so that each matrix become (12*12) matrix. How can i do this.
>
> Thanks,
> Sumanta.
>
>
> ---------------------------------
>
> Send instant messages to your online friends - NOW
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
                                


Send instant messages to your online friends - NOW

        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu May 11 20:18:33 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 11 May 2006 - 22:10:05 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.