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