Learn R Programming

algebraic.dist (version 0.1.0)

simplify.edist: Method for simplifying an edist object.

Description

Attempts to reduce expression distributions to closed-form distributions when mathematical identities apply. For example:

  • normal + normal = normal (sum of independent normals)

  • normal - normal = normal (difference of independent normals)

Usage

# S3 method for edist
simplify(x, ...)

Value

The simplified distribution, or unchanged edist if no rule applies

Arguments

x

The edist object to simplify

...

Additional arguments to pass (not used)