Learn R Programming

algebraic.dist (version 0.1.0)

+.dist: Method for adding dist objects.

Description

Creates an expression distribution and automatically simplifies to closed form when possible (e.g., normal + normal = normal).

Usage

# S3 method for dist
+(x, y)

Value

A simplified distribution or edist if no closed form exists

Arguments

x

The first dist object to add

y

The second dist object to add