powered by
Visualization of the probability mass and the cumulative distribution function of a binomial distribution.
men_bin(size = 10, prob = 0.5)
nothing
integer: number of trials (zero or more)
numeric: probability of success on each trial
if (interactive()) men_bin() if (interactive()) men_bin(20, 0.25)
Run the code above in your browser using DataLab