Re: [R] Get data from matrix

2007-10-15 Thread Jorge Ivan Velez Valbuena
SubMatrix = Matrix[10,] Cheers, Jorge - Original Message - From: pintinho <[EMAIL PROTECTED]> Date: Monday, October 15, 2007 2:17 pm Subject: [R] Get data from matrix > > Hi, > > I have a matrix that has a variable number of columns. I do not > know, a >

Re: [R] Get data from matrix

2007-10-15 Thread Henrique Dallazuanna
Hi, mat[,10:ncol(mat)] On 15/10/2007, pintinho <[EMAIL PROTECTED]> wrote: > > > Hi, > > I have a matrix that has a variable number of columns. I do not know, a > priori, the number of columns. > > How can I get a sub matrix, for example, from row 10 to the end of the > columns? > > In MatLab I w

[R] Get data from matrix

2007-10-15 Thread pintinho
Hi, I have a matrix that has a variable number of columns. I do not know, a priori, the number of columns. How can I get a sub matrix, for example, from row 10 to the end of the columns? In MatLab I would use something like this: SubMatrix = Matrix[10, 1:end] Thanks a lot. -- View this messa