[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

[R] select n rows

2010-03-27 Thread leobon
Hello everyone, I have a matrix with 8000 rows. If I want to select every 8 rows, (i.e. row1, row2, ..., row8), what should I do? Appriciate for any hints! Thanks a lot! Leo -- View this message in context: http://n4.nabble.com/select-n-rows-tp1693136p1693136.html Sent from the R help mailing li