Learn R Programming

descriptr (version 0.6.1)

ds_range: Range

Description

Compute the range of a numeric vector

Usage

ds_range(data, x = NULL)

Value

Range of x

Arguments

data

A numeric vector or data.frame.

x

Column in data.

See Also

Examples

Run this code
# vector
ds_range(mtcars$mpg)

# data.frame
ds_range(mtcars, mpg)

Run the code above in your browser using DataLab