max2: An alternative to max that preserves names

View source: R/utils_math.R

max2R Documentation

An alternative to max that preserves names

Description

An alternative to max that preserves names

Usage

max2(x)

Arguments

x

vec

Value

atomic returns the largest element in the vector

See Also

Other statistics: smode()

Examples

max2(c(a = 1, b = 2))

yogat3ch/UU documentation built on May 31, 2024, 10:14 p.m.