ds_range: Range

View source: R/ds-describe.R

ds_rangeR Documentation

Range

Description

Compute the range of a numeric vector

Usage

ds_range(data, x = NULL)

Arguments

data

A numeric vector or data.frame.

x

Column in data.

Value

Range of x

See Also

range

Examples

# vector
ds_range(mtcars$mpg)

# data.frame
ds_range(mtcars, mpg)


rsquaredacademy/descriptr documentation built on Nov. 13, 2024, 9:36 a.m.