Learn R Programming

bayesforecast (version 1.0.5)

uniform: Define a uniform prior distribution

Description

uniform(shape1,shape2)

Usage

uniform(min = 0, max = 1)

Value

a numerical vector interpreted as a prior in Stan

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.