View source: R/uniform_prior.R
uniform_prior | R Documentation |
Prior uniform distribution
uniform_prior(alpha, beta)
alpha |
numeric. Lower bound. |
beta |
numeric. Upper bound (> |
Stan reference https://mc-stan.org/docs/functions-reference/uniform-distribution.html
Object of class UniformPrior
.
Other priors:
prior_bernoulli()
,
prior_beta()
,
prior_cauchy()
,
prior_exponential()
,
prior_gamma()
,
prior_half_cauchy()
,
prior_half_normal()
,
prior_normal()
,
prior_poisson()
up <- uniform_prior(0, 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.