Skip to contents

Gamma Prior Distribution

Usage

prior_gamma(alpha, beta, transform = NULL)

Arguments

alpha

(number) shape.

beta

(number) inverse scale.

transform

(PriorTransform | NULL) optional package-defined transformation from the model parameter to the prior density scale. See prior_transform() for support, Jacobians and examples. NULL keeps the prior on the model parameter scale.

Value

A Prior object.

Examples

prior_gamma(2, 1)
#> 
#> Prior Object:
#>    gamma(alpha = 2, beta = 1)
#>