Normal: A convinience function for generating Normal priors.

Description Usage Arguments Value See Also Examples

View source: R/interface.R

Description

A convinience function for generating Normal priors.

Usage

1
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.

See Also

Other priors: Exp, Flat

Examples

1
Normal(0, 1)(1) == dnorm(1, log = TRUE)

jlepird/prefeR documentation built on May 19, 2019, 12:46 p.m.