which.pmax {radiant.data}R 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)

[Package radiant.data version 1.6.6 Index]