[Rd] Logic Error (PR#8677)

mkdavis@math.ucalgary.ca mkdavis at math.ucalgary.ca
Mon Mar 13 00:39:11 CET 2006


Full_Name: Matthew Davis
Version: 2.2.0
OS: OS X (10.4.5)
Submission from: (NULL) (209.107.120.195)


the mean of my sample x is 0.2, and when I check mean(x)<=0.2 I get a TRUE
value, when I check mean(x)<=(1-0.8) I get a FALSE value.  (x <- c(0, 1, 0, 0,
0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0))



More information about the R-devel mailing list