Learn R Programming

bayesforecast (version 1.0.1)

normal: Define a normal prior distribution

Description

normal(mu,sd)

Usage

normal(mu = 0, sd = 1)

Arguments

mu

the location parameter mu

sd

the standard deviation parameter sigma

Value

a numerical vector interpreted as a prior in Stan

Details

Define a normal prior distribution using the hyper parameters mu and sigma, by default a standard normal distribution is return.