Gruumsh not think R help much like poetry. Gruumsh need use R to crush human foe. Gruumsh not like read help, but sometimes have to. Here help for round function, Gruumsh quote verbatim:
Note that for rounding off a 5, the IEC 60559 standard is expected to be used, ‘go to the even digit’. Therefore round(0.5) is 0 and round(-1.5) is -2. However, this is dependent on OS services and on representation error (since e.g. 0.15 is not represented exactly, the rounding rule applies to the represented number and not to the printed number, and so round(0.15, 1) could be either 0.1 or 0.2).
Gruumsh not trained statistician, but Gruumsh think this is big pile of steaming Ogre shit. Gruumsh check with Stata oracle. Stata rounds 0.5 to 1, not 0. Stata sensible god of numbers. Gruumsh not mathematician, but when Gruumsh round 0.15, Gruumsh expect 0.2. Gruumsh want to smash idiot that made IEC 60559 standard. Stupid jobsworth die slow nasty death under Gruumsh-club.
June 29, 2012 at 12:22 pm
Gruumsh’s stance seems fair and reasonable.
Or maybe Gruumsh wants to support my campaign for clear English. In that case he can support the help file saying “When R rounds numbers it will pseudo-randomly round it to whatever value the program, operating system, hardware and phase of the moons feels like re-turning. Frankly you’re lucky we give you a number at all. Any complaining and we’ll change it so that invoking the round function returns a value of ‘Cake’.”
May 2, 2021 at 12:27 pm
[…] let’s introduce our melee combatant, Gruumsh the Bastard, pulled out of retirement from the pathfinder epidemiology project[1] to do his duty as an […]