hai_range_statistic {healthyR.ai}R 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))


[Package healthyR.ai version 0.0.13 Index]