Format method for empirical_dist objects.

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

Arguments

x

The object to format

...

Additional arguments (not used)

Value

A character string

Examples

ed <- empirical_dist(c(1, 2, 3, 4, 5))
format(ed)
#> [1] "Empirical distribution (5 observations, 1 dimensions)"