| normal | R Documentation |
Creates a normal distribution object for use with prior().
normal(mu = 0, sigma = 1)
mu |
Mean of the normal distribution. Default: 0 |
sigma |
Standard deviation of the normal distribution. Must be positive. Default: 1 |
An object of class "clm_dist" representing a normal distribution.
prior(), gamma(), student_t(), cauchy()
# Create a normal prior
normal(0, 2.5)
# Use with prior()
prior(normal(0, 2.5), class = "b")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.