powered by
Compute the range of a numeric vector
ds_range(x, data = NULL, na.rm = FALSE)
a numeric vector or column name.
a data.frame or tibble.
data.frame
tibble
a logical value indicating whether NA values should be stripped before the computation proceeds.
Range of x
x
range
# NOT RUN { ds_range(mtcars$mpg) ds_range(mpg, mtcars) # }
Run the code above in your browser using DataLab