Skip to contents

Uniform Prior Distribution

Usage

prior_uniform(alpha, beta, transform = NULL)

Arguments

alpha

(number) minimum value parameter.

beta

(number) maximum value parameter.

transform

(PriorTransform | NULL) optional package-defined transformation from the model parameter to the prior density scale. See prior_transform() for support, Jacobians and examples. NULL keeps the prior on the model parameter scale.

Value

A Prior object.

Examples

prior_uniform(0, 1)
#> 
#> Prior Object:
#>    uniform(alpha = 0, beta = 1)
#>