Im new to R programming, I typed the following and I assumed both should return TRUE, but the first one doesn't, any ideas?
identical(0.3-0.1,0.5-0.3);
identical(0.2,0.2);
[1] FALSE
[1] TRUE
Im new to R programming, I typed the following and I assumed both should return TRUE, but the first one doesn't, any ideas?
identical(0.3-0.1,0.5-0.3);
identical(0.2,0.2);
[1] FALSE
[1] TRUE