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