Last chance! 50% off unlimited learning
Sale ends in
# NOT RUN {
(r.x <- range(stats::rnorm(100)))
diff(r.x) # the SAMPLE range
x <- c(NA, 1:3, -1:1/0); x
range(x)
range(x, na.rm = TRUE)
range(x, finite = TRUE)
# }
Run the code above in your browser using DataLab