ds_range {descriptr}R Documentation

Range

Description

Compute the range of a numeric vector

Usage

ds_range(x, data = NULL, na.rm = FALSE)

Arguments

x

a numeric vector or column name.

data

a data.frame or tibble.

na.rm

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

Value

Range of x

See Also

range

Examples

ds_range(mtcars$mpg)
ds_range(mpg, mtcars)

[Package descriptr version 0.5.2 Index]