Learn R Programming

bayesforecast (version 1.0.5)

beta: Define a beta prior distribution

Description

beta(shape1,shape2)

Usage

beta(shape1 = 2, shape2 = 2)

Value

a numerical vector interpreted as a prior in Stan

Arguments

shape1

the first form parameter

shape2

the second form parameter

Details

Define a beta prior distribution using the hyper parameters shape1 and shape2, by default a beta(2,2) distribution is return.