R/dst_bern.R
dst_bern.Rd
Makes a Bernoulli distribution, representing the outcome of a single trial with a given success probability.
dst_bern(prob)
Probability of success; single numeric between 0 and 1.
A Bernoulli distribution.
dst_bern(0.3) #> Bernoulli distribution (discrete) #> --Parameters-- #> prob #> 0.3