first_argmax: Index of the first maximum value of a vector

Description Usage Arguments Details Value

Description

Take a numeric vector and return the index of the first (the lowest index) maximum values.

Usage

1

Arguments

x

a numeric vector.

Details

The function first_argmax works as the standard function min(which.max).

Value

Return the index of the first (the lowest index) maximum values of a vector.


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