Skip to contents

Multiply the support of a distribution with -1

Usage

# S4 method for class 'ddf,missing'
e1 - e2

Arguments

e1

A ddf object, the distribution.

e2

Unused argument. Has to be missing.

Value

A ddf distribution.

Examples

-bin(5, 0.1)
#> Binomial distribution with parameters n = 5 and p = 0.1, multiplied with -1 
#> 
#> Support:
#> [1] -5 -4 -3 -2 -1  0
#> 
#> Probabilities:
#> [1] 0.00001 0.00045 0.00810 0.07290 0.32805 0.59049