search for: sigmag

Displaying 1 result from an estimated 1 matches for "sigmag".

Did you mean: sigma
2005 Nov 01
5
Unexpected result from binary greater than operator
Hi All, I recently encountered results that I did not expect, exhibited by the following code snippet: test <- function() { minX <- 4.2 min0 <- 4.1 sigmaG <- 0.1 Diff <- minX-min0 print(c(Diff=Diff,sigmaG=sigmaG)) cat("is Diff > sigmaG?:", Diff > sigmaG,"\n") cat("is (4.2 - 4.1) > 0.1?:",(4.2 - 4.1) > 0.1,"\n") cat("is 0.1 > 0.1?:", 0.1>0.1,"\n") }...