powered by
Makes a Bernoulli distribution, representing the outcome of a single trial with a given success probability.
dst_bern(prob)
A Bernoulli distribution.
Probability of success; single numeric between 0 and 1.
dst_bern(0.3)
Run the code above in your browser using DataLab