which.pmax: Index of the maximum per row

which.pmaxR Documentation

Index of the maximum per row

Description

Index of the maximum per row

Usage

which.pmax(...)

Arguments

...

Numeric or character vectors of the same length

Details

Determine the index of the maximum of the input vectors per row. Extension of which.max

Value

Vector of rankings

See Also

See also which.max and which.pmin

Examples

which.pmax(1:10, 10:1)
which.pmax(2, 10:1)
which.pmax(mtcars)

radiant-rstats/radiant.data documentation built on Jan. 19, 2024, 12:21 p.m.