This numerical problem in R almost reversed my analysis result. Specify the precision when comparing floating numbers. Or use `all.equal()` function which tests if two objects are nearly equal. #RStats
1
4
9
Replying to @alextuowang
It's irritating when one first encounters it but it ... is also more or less a rite of passage. See the ("famous") R FAQ answer 7.31 which is about this -- and so famous that "7.31" really is just shorthand for these problems. #rstats

Feb 21, 2022 · 4:49 PM UTC

1
1
10
Also Chapter 1 of the evergreen "R Inferno" burns-stat.com/pages/Tutor/R… (the first Circle of the inferno, "Falling into the Floating Point Trap")
1
6