[Rd] round() increases or decreases (PR#9195)

2006-09-01 Thread gael . millot
Full_Name: Gael Millot Version: 2.3.1. OS: XP Submission from: (NULL) (195.220.102.23) Hello. I have a strange behavior with round() when it has to deal with 5. It sometimes rounds up, sometimes rounds down. Example : coma effect : > round(0.5,0) [1] 0 > round(0.25,1) [1] 0.2 > roun

[Rd] ansari.test one-tailed (PR#8730)

2006-03-30 Thread gael . millot
Full_Name: Gael Millot Version: 2.2.0. OS: XP Submission from: (NULL) (195.220.102.20) Hello. I sent an Email in r-help without answer for the moment. I am wondering if it could have a mistake in the code of the ansari.test function. For me, it seems that the function do not recover the p