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


David-Hervas/clickR documentation built on Feb. 15, 2024, 8:33 p.m.