Have you read "An Introduction to R" or consulted ?"[" . This is simply a
matter of indexing matrices. I think you have an obligation to do some
homework before posting what appear to be trivialities (others may
disagree).

-- Bert

On Thu, Jan 3, 2013 at 8:40 AM, eliza botto <eliza_botto@hotmail.com> wrote:

>
>
> Dear useRs,
> i want to split a matrix having 1116rows and 12 columns. i want to split
> that matrix into 36 small matrices each having 12 columns and 31 rows. The
> big matrix should be splitted row wise. which means that the first small
> matrix should copy values which are in first 31 rows and 12 columns of the
> big matrix. similarly 2nd small matrix should contain values from 32nd to
> 63rd row of the big matrix and so on. on the whole i want to have 36 small
> matrices.i tried
> dim(dd) <- c(31,12,35)
> but the result are not stisfactory...
> thanks in advance
> elisa
>         [[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.
>



-- 

Bert Gunter
Genentech Nonclinical Biostatistics

Internal Contact Info:
Phone: 467-7374
Website:
http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm

	[[alternative HTML version deleted]]


