argmax: Index of the maximum values of a vector

Description Usage Arguments Details Value

Description

Take a numeric vector and return the index of the maximum values.

Usage

1
argmax(x)

Arguments

x

a numeric vector.

Details

The function argmax works as the standard function which.max.

Value

Return the index of the maximum values of a vector.


BenitoJaillard/combinAna documentation built on May 9, 2019, 2:17 a.m.