Format a chi_squared object as a character string.

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

Arguments

x

The chi_squared object

...

Additional arguments (not used)

Value

A character string describing the distribution

Examples

format(chi_squared(5))
#> [1] "Chi-squared distribution (df = 5)"