A convenience function for generating Normal priors.

Usage

Normal(mu = 0, sigma = 1)

Arguments

mu

The mean of the normal distribution

sigma

The standard deviation of the prior

Value

A function yielding the log-PDF at x of a normal distribution with given statistics.

Other priors: Exp(), Flat()
Normal(0, 1)(1) == dnorm(1, log = TRUE)