Plot a simple density plot to illustrate the binomial distribution for a specified number of trials and a constant probability of success.

binom_plot(n, p)

Arguments

n

integer

p

double

Value

plot

Examples

binom_plot(8, 0.5)