From d@tr7320 @ending from uni@@ydney@edu@@u  Thu Sep 20 03:00:11 2018
From: d@tr7320 @ending from uni@@ydney@edu@@u (Dario Strbenac)
Date: Thu, 20 Sep 2018 01:00:11 +0000
Subject: [Rd] A different error in sample()
In-Reply-To: <CAO1zAVbHXAz9o7uf98Q5pUm7R8pSHFigAAtQn90FrGdPfqUn1A@mail.gmail.com>
References: <5b6950ce-ac7a-4f6a-da61-8e70d25bb08c@gmail.com>,
 <CAO1zAVbHXAz9o7uf98Q5pUm7R8pSHFigAAtQn90FrGdPfqUn1A@mail.gmail.com>
Message-ID: <SYCPR01MB41112555F67E1CAD438FCB6BCD1C0@SYCPR01MB4111.ausprd01.prod.outlook.com>

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


[Rd] A different error in sample()
Dario Strbenac