[Rd] A different error in sample()

Dario Strbenac
Thu, 20 Sep 2018 01:00:11 -0000

Good day,

The use of "rounding" also doesn't make sense. If The number is
halfway between two integers, it is rounded to the nearest even integer.

> round(2.5)
[1] 2

--------------------------------------
Dario Strbenac
University of Sydney
Camperdown NSW 2050
Australia