prob_superior: Probability that items in a are superior to b

View source: R/utils.R

prob_superiorR Documentation

Probability that items in a are superior to b

Description

Probability that items in a are superior to b

Usage

prob_superior(a, b, delta = 0)

Arguments

a

A matrix or vector of items to compare to b

b

A vector or matrix to which a is compared

delta

The minimal effect bound

Value

A vector of probabilities

Examples

prob_superior(mvnfast::rmvn(1e4, 1:3, diag(1, 3)), rnorm(1e4), 1)
prob_superior(rnorm(1e4), mvnfast::rmvn(1e4, 1:3, diag(1, 3)), 1)

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