Skip to contents

Uniform Cumulative Distribution Function

Usage

prob_unif(x, min = 0, max = 1)

Arguments

x

A numeric vector of quantiles.

min

A numeric vector of the minimums.

max

A numeric vector of the maximums.

Value

An numeric vector of the corresponding probabilities.

Examples

prob_unif(c(0, 0.5, 1))
#> [1] 0.0 0.5 1.0