[R] subset in a BIG matrix

2011-02-02 Thread alcesgabbo
I have a matrix with a lot of values inside.. when I execute the folowing command matrix2=subset(martix, condition.) it works... but after the previous command I execute another subset matrix3=subset(martix2, condition2.) and appears the following error: (subscript) logical

Re: [R] subset in a BIG matrix

2011-02-02 Thread jim holtman
To solve it, a little more data would help. At least provide exactly the statements you are using and an 'str' of the objects; e.g., str(matrix2) str(condition2) error message might indicate that the length of condition2 is larger than the subset of matrix2 that you want. On Wed, Feb 2, 2011

Re: [R] subset in a BIG matrix

2011-02-02 Thread Steve Lianoglou
Hi, On Wed, Feb 2, 2011 at 8:30 AM, alcesgabbo alcesga...@hotmail.com wrote: I have a matrix with a lot of values inside.. when I execute the folowing command matrix2=subset(martix, condition.) it works... but after the previous command I execute another subset