Specifies a gamma distribution using shape and scale parameterization.

gamma_dist(shape, scale)

Arguments

shape

Numeric. Shape parameter (alpha).

scale

Numeric. Scale parameter (theta). Note: this is scale, not rate.

Value

A list specification for a gamma distribution.

Examples

if (FALSE) { # \dontrun{
# Generation time distribution with mean 6.5 and scale 0.62
gen_time <- gamma_dist(6.5, 0.62)
} # }