Re: [R] create space for a matrix

2010-03-28 Thread Petr PIKAL
Hi r-help-boun...@r-project.org napsal dne 29.03.2010 08:41:15: > Hi Leo, > > see the matrix function e.g. > > m <- matrix(0, nrow=1, ncol=3) > > then you can use functions like rbind or cbind to create bigger ones. > > I am a newbie so double check everything :) > > HTH, > Best regards, >

Re: [R] create space for a matrix

2010-03-28 Thread Giovanni Azua Garcia
Hi Leo, see the matrix function e.g. m <- matrix(0, nrow=1, ncol=3) then you can use functions like rbind or cbind to create bigger ones. I am a newbie so double check everything :) HTH, Best regards, Giovanni On Mar 29, 2010, at 8:37 AM, leobon wrote: > > Hello all, > I want to creat a sp

[R] create space for a matrix

2010-03-28 Thread leobon
Hello all, I want to creat a space for a matrix. For example, I have a matrix with the dimension of 1(row)*3(col), which is (2,3,4). Then I want to put this matrix into a new and larger matrix. The dimension of the new matrix is 3*3. So what I want is creating a new larger matrix which allows me