Format method for normal objects.

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

Arguments

x

The object to format

...

Additional arguments (not used)

Value

A character string

Examples

x <- normal(2, 3)
format(x)
#> [1] "Normal distribution (mu = 2, var = 3)"