extreme_values: Extreme values from a numeric vector

View source: R/check_quality.R

extreme_valuesR Documentation

Extreme values from a numeric vector

Description

Returns the nth lowest and highest values from a vector

Usage

extreme_values(x, n = 5, id = NULL)

Arguments

x

A vector

n

Number of extreme values to return

id

ID column to reference the found extreme values

Value

A matrix with the lowest and highest values from a vector


clickR documentation built on Aug. 8, 2023, 1:11 a.m.