prior_half_normal {psborrow2} | R Documentation |
Prior half-normal distribution
Description
Prior half-normal distribution
Usage
prior_half_normal(mu, sigma)
Arguments
mu |
numeric. Location. |
sigma |
numeric. Scale (>0). |
Details
Stan reference https://mc-stan.org/docs/functions-reference/normal-distribution.html
Value
Object of class PriorHalfNormal
.
See Also
Other priors:
prior_bernoulli()
,
prior_beta()
,
prior_cauchy()
,
prior_exponential()
,
prior_gamma()
,
prior_half_cauchy()
,
prior_normal()
,
prior_poisson()
,
uniform_prior()
Examples
hcp <- prior_half_normal(1, 1)
[Package psborrow2 version 0.0.3.4 Index]