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
The negation of Height.1 == 0 & Height.2 == 0 was incorrect. Use subset(raw.all.clean, !(Height.1 == 0 & Height.2 == 0)) or subset(raw.all.clean, Height.1 != 0 | Height.2 != 0) HTH, Thierry ir. Thierry Onkelinx Inst