-.dist: Method for negation or subtraction of dist objects.
Description
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).
Usage
# S3 method for dist
-(x, y)
Value
A simplified distribution or edist if no closed form exists
Arguments
x
The first dist object
y
The second dist object (optional for unary negation)