-devel@r-project.org
Subject: Re: [Rd] Documentation for floor, ceiling & trunc
On 01/01/2022 2:24 p.m., Colin Gillespie wrote:
> Hi,
>
> The documentation for floor, ceiling and trunc is slightly ambiguous.
>
> "floor takes ... and returns a numeric vector containing
On 01/01/2022 2:24 p.m., Colin Gillespie wrote:
Hi,
The documentation for floor, ceiling and trunc is slightly ambiguous.
"floor takes ... and returns a numeric vector containing the largest
integers ..."
My initial thought was that floor() would return a vector of integers.
That would be de
Hi,
The documentation for floor, ceiling and trunc is slightly ambiguous.
"floor takes ... and returns a numeric vector containing the largest
integers ..."
My initial thought was that floor() would return a vector of integers.
Instead, it returns a vector of doubles, i.e c(1L, 2L) vs c(1, 2)