Dear Jon,
See FAQ 7.31 at
http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-doesn_0027t-R-think-these-numbers-are-equal_003f
HTH,
Jorge
On Tue, Nov 25, 2008 at 1:05 PM, Jon Zadra <[EMAIL PROTECTED]> wrote:
> Hi,
>
> This is really strange. Can anyone help explain what's going on here (on 3
>
Hi,
This is really strange. Can anyone help explain what's going on here
(on 3 and 7)?
> targets <- seq(from=.1, to=.9, by=.1)
> targets[1]==.1
[1] TRUE
> targets[2]==.2
[1] TRUE
> targets[3]==.3
[1] FALSE
> targets[4]==.4
[1] TRUE
> targets[5]==.5
[1] TRUE
> targets[6]==.6
[1] TRUE
>
2 matches
Mail list logo