which.max.random: Index of maximum with random ties

View source: R/utility.R

which.max.randomR Documentation

Index of maximum with random ties

Description

Find index of maximum, breaking ties at random and ignoring NAs.

Usage

which.max.random(x)

Arguments

x

Input vector.

Value

Index of the maximum value.

Author(s)

Marvin N. Wright


mnwright/simpleRF documentation built on March 28, 2022, 8:57 a.m.