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
>
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
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
3 matches
Mail list logo