Skip to content
Prev 138318 / 398506 Next

help for the first poster- a simple question

On Mon, 2008-03-03 at 12:52 -0500, Xuejun Qin wrote:
Answer 1:

Read FAQ 7.31 -

http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-doesn_0027t-R-think-these-numbers-are-equal_003f

Answer 2:

Use all.equal()
[1] -6.938894e-18
[1] FALSE
[1] TRUE
HTH

G