rbernoulli_custom.Rd
Discrete distribution with 2 values.
rbernoulli_custom(n, a = -1, b = 1, p = 0.5)
number of observations.
first value.
second value.
Let X ~ pbernoulli_custom. Then p = Probability(X=a).