Generic method for simplifying distributions.

simplify(x, ...)

Arguments

x

The distribution to simplify

...

Additional arguments to pass

Value

The simplified distribution

Examples

# Simplify dispatches to the appropriate method
simplify(normal(0, 1))  # unchanged (already simplified)
#> Normal distribution (mu = 0, var = 1)