uniform_prior {psborrow2}R Documentation

Prior uniform distribution

Description

Prior uniform distribution

Usage

uniform_prior(alpha, beta)

Arguments

alpha

numeric. Lower bound.

beta

numeric. Upper bound (>alpha).

Details

Stan reference https://mc-stan.org/docs/functions-reference/uniform-distribution.html

Value

Object of class UniformPrior.

See Also

Other priors: prior_bernoulli(), prior_beta(), prior_cauchy(), prior_exponential(), prior_gamma(), prior_half_cauchy(), prior_half_normal(), prior_normal(), prior_poisson()

Examples

up <- uniform_prior(0, 1)

[Package psborrow2 version 0.0.3.4 Index]