Unary: returns negated distribution (e.g., -N(mu, var) = N(-mu, var)) Binary: creates expression distribution and simplifies to closed form when possible (e.g., normal - normal = normal).

# S3 method for class 'dist'
x - y

Arguments

x

The first dist object

y

The second dist object (optional for unary negation)

Value

A simplified distribution or edist if no closed form exists