Format a gamma_dist object as a character string.

# S3 method for class 'gamma_dist'
format(x, ...)

Arguments

x

The gamma_dist object

...

Additional arguments (not used)

Value

A character string describing the distribution

Examples

format(gamma_dist(2, 1))
#> [1] "Gamma distribution (shape = 2, rate = 1)"