which.pmax: Index of the maximum per row

Description Usage Arguments Details Value See Also Examples

View source: R/radiant.R

Description

Index of the maximum per row

Usage

1

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

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

radiant-rstats/radiant.data documentation built on Nov. 13, 2018, 6:57 a.m.