Format a weibull_dist object as a character string.

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

Arguments

x

A weibull_dist object.

...

Additional arguments (not used).

Value

A character string describing the distribution.

Examples

format(weibull_dist(2, 3))
#> [1] "Weibull distribution (shape = 2, scale = 3)"