| range_noinf | 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.
x <- rnorm(20, 1)
range_noinf(x, na.rm = TRUE)
range_noinf(rep(NA, 20), na.rm = TRUE)
range(rep(NA, 20), na.rm = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.