Skip to contents

Uniform Log-Likelihood

Usage

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

Arguments

x

A numeric vector of values.

min

A numeric vector of the minimums.

max

A numeric vector of the maximums.

Value

An numeric vector of the corresponding log-likelihoods.

Examples

log_lik_unif(c(0, 0.7, 1))
#> [1] 0 0 0