Learn R Programming

descriptr (version 0.5.1)

ds_range: Range

Description

Compute the range of a numeric vector

Usage

ds_range(x, na.rm = FALSE)

Arguments

x

a numeric vector

na.rm

a logical value indicating whether NA values should be stripped before the computation proceeds.

Value

Range of x

See Also

range

Examples

Run this code
# NOT RUN {
ds_range(mtcars$mpg)
# }

Run the code above in your browser using DataLab