powered by
Creates a gamma distribution object for use with prior().
prior()
gamma(alpha, beta)
An object of class "clm_dist" representing a gamma distribution.
"clm_dist"
Shape parameter of the gamma distribution. Must be positive.
Rate parameter of the gamma distribution. Must be positive.
prior(), normal(), student_t(), cauchy()
normal()
student_t()
cauchy()
# Create a gamma prior gamma(2, 0.1) # Use with prior() for degrees of freedom prior(gamma(2, 0.1), class = "df")
Run the code above in your browser using DataLab