Learn R Programming

bayesforecast (version 1.0.1)

beta: Define a beta prior distribution

Description

beta(shape1,shape2)

Usage

beta(shape1 = 2, shape2 = 2)

Arguments

shape1

the first form parameter

shape2

the second form parameter

Value

a numerical vector interpreted as a prior in Stan

Details

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