> Lukas Stadler
> on Mon, 23 Oct 2017 15:56:55 +0200 writes:
> Hi!
> I was wondering about the behavior of the range function wrt. logical NAs:
>> range(c(0L, 1L, NA), finite=T)
> [1] 0 1
>> range(c(F, T, NA), finite=T)
> [1] NA NA
> The documentation is
Hi!
I was wondering about the behavior of the range function wrt. logical NAs:
> range(c(0L, 1L, NA), finite=T)
[1] 0 1
> range(c(F, T, NA), finite=T)
[1] NA NA
The documentation is quite clear that "finite = TRUE includes na.rm = TRUE”, so
that I would have assumed that these two snippets woul
On 10/21/2017 04:14 PM, Radford Neal wrote:
On Fri, 2017-10-20 at 14:01 +, brodie gaslam via R-devel wrote:
I'm thinking of this passage:
Logical values are sent as 0 (FALSE), 1 (TRUE) or INT_MIN =
-2147483648 (NA, but only if NAOK is true), and the compiled code
should return one of these