| which.pmax | R Documentation | 
Index of the maximum per row
which.pmax(...)
| ... | Numeric or character vectors of the same length | 
Determine the index of the maximum of the input vectors per row. Extension of which.max
Vector of rankings
See also which.max and which.pmin
which.pmax(1:10, 10:1)
which.pmax(2, 10:1)
which.pmax(mtcars)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.