From lukas.stadler at oracle.com  Mon Oct 23 15:56:55 2017
From: lukas.stadler at oracle.com (Lukas Stadler)
Date: Mon, 23 Oct 2017 15:56:55 +0200
Subject: [Rd] range function with finite=T and logical parameters
Message-ID: <A7D1EB89-0A3C-456D-A73C-6E3B2B11DF3E@oracle.com>

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 would produce the same result.

- Lukas


[Rd] range function with finite=T and logical parameters
Lukas Stadler