Shows the number of samples and a summary of the source distribution.

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

Arguments

x

A realized_dist object.

...

Additional arguments (not used).

Value

A character string.

Examples

# \donttest{
rd <- realize(normal(0, 1), n = 100)
format(rd)
#> [1] "Realized distribution (100 samples from: Normal distribution (mu = 0, var = 1))"
# }