Format a beta_dist object as a character string.

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

Arguments

x

A beta_dist object.

...

Additional arguments (not used).

Value

A character string describing the distribution.

Examples

format(beta_dist(2, 5))
#> [1] "Beta distribution (shape1 = 2, shape2 = 5)"