tidy_range_statistic {TidyDensity} | R 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))
[Package TidyDensity version 1.5.0 Index]