Re: [R] Logical statements and subseting data...

2008-02-25 Thread ONKELINX, Thierry
ronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Neil Shephard Verzonden: maandag 25 februari 2008 15:36 Aan: ONKELINX, Thierry CC: r-help Onderwerp: Re: [R] Logical statements and subseting data... Thanks Thierry, they do both leave me with what I expected. On Mon, Feb

Re: [R] Logical statements and subseting data...

2008-02-25 Thread Neil Shephard
Thanks Thierry, they do both leave me with what I expected. On Mon, Feb 25, 2008 at 2:28 PM, ONKELINX, Thierry <[EMAIL PROTECTED]> wrote: > The negation of Height.1 == 0 & Height.2 == 0 was incorrect. Use > > subset(raw.all.clean, !(Height.1 == 0 & Height.2 == 0)) I can see clearly how this expr

Re: [R] Logical statements and subseting data...

2008-02-25 Thread ONKELINX, Thierry
o:[EMAIL PROTECTED] Namens Neil Shephard Verzonden: maandag 25 februari 2008 15:21 Aan: r-help Onderwerp: [R] Logical statements and subseting data... Hi, I'm scratching my head as to why I can't use the subset() command to remove one line of data from a data frame. There is just one row (

[R] Logical statements and subseting data...

2008-02-25 Thread Neil Shephard
Hi, I'm scratching my head as to why I can't use the subset() command to remove one line of data from a data frame. There is just one row (out of 45840) that I'd like to remove and it can be identified using > dim(raw.all.clean) [1] 4584010 > subset(raw.all.clean, Height.1 == 0 & Height.