hai_range_statistic: Get the range statistic

View source: R/hai-range-statistic.R

hai_range_statisticR Documentation

Get the range statistic

Description

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

Usage

hai_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

Examples

hai_range_statistic(seq(1:10))


healthyR.ai documentation built on April 3, 2023, 5:24 p.m.