Learn R Programming

radiant.data (version 0.6.0)

which.pmax: Returns the index of the (parallel) maxima of the input values

Description

Returns the index of the (parallel) maxima of the input values

Usage

which.pmax(...)

Arguments

...
Numeric or character vectors of the same length

Value

Vector of rankings

Examples

Run this code
which.pmax(1:10, 10:1)
which.pmax(2, 10:1)

Run the code above in your browser using DataLab