View source: R/prior_half_normal.R
| prior_half_normal | R Documentation |
Prior half-normal distribution
prior_half_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 PriorHalfNormal.
Other priors:
prior_bernoulli(),
prior_beta(),
prior_cauchy(),
prior_exponential(),
prior_gamma(),
prior_half_cauchy(),
prior_normal(),
prior_poisson(),
uniform_prior()
hcp <- prior_half_normal(1, 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.