tidy_range_statistic: Get the range statistic

View source: R/vec-range.R

tidy_range_statisticR Documentation

Get the range statistic

Description

Takes in a numeric vector and returns back the range of that vector

Usage

tidy_range_statistic(.x)

Arguments

.x

A numeric vector

Details

Takes in a numeric vector and returns the range of that vector using the diff and range functions.

Value

A single number, the range statistic

Author(s)

Steven P. Sandeson II, MPH

See Also

Other Statistic: ci_hi(), ci_lo(), tidy_kurtosis_vec(), tidy_skewness_vec(), tidy_stat_tbl()

Examples

tidy_range_statistic(seq(1:10))


TidyDensity documentation built on Nov. 2, 2023, 5:38 p.m.