Re: [Rd] Trouble with ifelse and if statement (PR#7962)

2005-06-22 Thread Gabor Grothendieck
On 6/22/05, Martin Maechler <[EMAIL PROTECTED]> wrote: > > > >Marc> This is not a bug and yes you have missed something. > >Marc> Read R FAQ 7.31 Why doesn't R think these numbers are equal? > >Marc> More information is also

Re: [Rd] Trouble with ifelse and if statement (PR#7962)

2005-06-22 Thread Martin Maechler
Marc> This is not a bug and yes you have missed something. Marc> Read R FAQ 7.31 Why doesn't R think these numbers are equal? Marc> More information is also available here: Marc> http://grouper.ieee.org/groups/7

Re: [Rd] Trouble with ifelse and if statement (PR#7962)

2005-06-21 Thread MSchwartz
On Wed, 2005-06-22 at 04:46 +0200, [EMAIL PROTECTED] wrote: > Full_Name: Woolton Lee > Version: 2.1 > OS: windows > Submission from: (NULL) (128.118.224.46) > > > I did the following ('g' and 'h' are both numeric vectors) > > i <- abs(g-h) > creating a vector 'i' with values, > > i > [1] 0.08 0.

Re: [Rd] Trouble with ifelse and if statement (PR#7962)

2005-06-21 Thread Gabor Grothendieck
On 6/21/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Full_Name: Woolton Lee > Version: 2.1 > OS: windows > Submission from: (NULL) (128.118.224.46) > > > I did the following ('g' and 'h' are both numeric vectors) > > i <- abs(g-h) > creating a vector 'i' with values, > > i > [1] 0.08 0.00

[Rd] Trouble with ifelse and if statement (PR#7962)

2005-06-21 Thread wwl107
Full_Name: Woolton Lee Version: 2.1 OS: windows Submission from: (NULL) (128.118.224.46) I did the following ('g' and 'h' are both numeric vectors) > i <- abs(g-h) creating a vector 'i' with values, > i [1] 0.08 0.00 0.33 0.00 0.00 0.00 0.00 0.33 0.00 0.00 0.08 0.08 0.20 0.00 0.13 Now, I want t