which.max.random: which.max() with random at ties

View source: R/utils.R

which.max.randomR Documentation

which.max() with random at ties

Description

which.max() with random at ties

Usage

which.max.random(x)

Arguments

x

A numeric vector.

Value

Index of maximum value in x, with random tie-breaking.


arf documentation built on April 3, 2025, 7:29 p.m.