prior_normal | R Documentation |
Prior normal distribution
prior_normal(mu, sigma)
mu |
numeric. Location. |
sigma |
numeric. Scale (>0). |
Stan reference https://mc-stan.org/docs/functions-reference/normal-distribution.html
Object of class PriorNormal
.
Other priors:
prior_bernoulli()
,
prior_beta()
,
prior_cauchy()
,
prior_exponential()
,
prior_gamma()
,
prior_half_cauchy()
,
prior_half_normal()
,
prior_poisson()
,
uniform_prior()
np <- prior_normal(1, 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.