R/interface.R

Normal.Rd

A convenience function for generating Normal priors.

Normal(mu = 0, sigma = 1)

The mean of the normal distribution

The standard deviation of the prior

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

Other priors: Exp(), Flat()

Exp()

Flat()

Normal(0, 1)(1) == dnorm(1, log = TRUE) #> [1] TRUE