range_noinf {tern} | R Documentation |
range()
default S3 method for numerical objectsThis function returns c(NA, NA)
instead of c(-Inf, Inf)
for zero-length data
without any warnings.
range_noinf(x, na.rm = FALSE, finite = FALSE)
x |
( |
na.rm |
( |
finite |
( |
A 2-element vector of class numeric
.