Normal {prefeR} | R Documentation |
A convenience function for generating Normal priors.
Description
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.
See Also
Examples
Normal(0, 1)(1) == dnorm(1, log = TRUE)
[Package prefeR version 0.1.3 Index]