Learn R Programming

arf (version 0.2.4)

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

Description

which.max() with random at ties

Usage

which.max.random(x)

Value

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

Arguments

x

A numeric vector.