[R] - round() strange behaviour

Thomas Lumley tlumley at u.washington.edu
Thu Aug 2 22:28:35 CEST 2007


On Thu, 2 Aug 2007, Monica Pisica wrote:

>
> Hi,
>
> I am getting some strange results using round - it seems that it depends if 
> the number before the decimal point is odd or even ....

Yes. This is explained in the help page for round().

   -thomas

Thomas Lumley			Assoc. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle



More information about the R-help mailing list