Re: [R] problem with basic boolean selection in sequence

2008-04-09 Thread Richard . Cotton
> I have a surprising problem while selecting values in a sequence created > with the seq() function... >... > > test2<-seq(from=0,to=1,by=.1) >... > > test2==0.3 > [1] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE >... > Does anyones has an explanation and a solution ? I suspe

[R] problem with basic boolean selection in sequence

2008-04-09 Thread Benoit Ricci
Dear R users, I have a surprising problem while selecting values in a sequence created with the seq() function... I've tried a lot of test before sending this here and hope I did not disturb you for a foolish mistake from me Please, have a look at the following lines: #_