rw_range: Range

View source: R/vec-cumulative-functions.R

rw_rangeR Documentation

Range

Description

A function to return the range of a vector.

Usage

rw_range(.x)

Arguments

.x

A numeric vector

Details

A function to return the range of a vector. It uses max(.x) - min(.x) as the basis of the function.

Value

A numeric vector

Author(s)

Steven P. Sanderson II, MPH

See Also

Other Vector Function: cgmean(), chmean(), ckurtosis(), cmean(), cmedian(), crange(), csd(), cskewness(), cvar(), euclidean_distance(), kurtosis_vec(), skewness_vec()

Examples

x <- mtcars$mpg

rw_range(x)


RandomWalker documentation built on Oct. 23, 2024, 5:07 p.m.