prob_max: Probability that each column in mat is the maximum of all...

View source: R/utils.R

prob_maxR Documentation

Probability that each column in mat is the maximum of all columns

Description

Probability that each column in mat is the maximum of all columns

Usage

prob_max(mat)

Arguments

mat

A matrix of samples

Value

A vector of probabilities that each dimension is maximum

Examples

prob_max(matrix(rnorm(1e4, 1:10), 1000, 10, byrow = T))

jatotterdell/automaticsims documentation built on Aug. 22, 2024, 10:52 p.m.