uniform: Define a uniform prior distribution

Description Usage Arguments Details Value

View source: R/prior.R

Description

uniform(shape1,shape2)

Usage

1
uniform(min = 0, max = 1)

Arguments

min

the first form parameter

max

the second form parameter

Details

Define a beta prior distribution using the hyper parameters min and max, by default a uniform(0,1) distribution is return.

Value

a numerical vector interpreted as a prior in Stan


bayesforecast documentation built on June 17, 2021, 5:14 p.m.