Learn R Programming

bayesforecast (version 1.0.1)

uniform: Define a uniform prior distribution

Description

uniform(shape1,shape2)

Usage

uniform(min = 0, max = 1)

Arguments

min

the first form parameter

max

the second form parameter

Value

a numerical vector interpreted as a prior in Stan

Details

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