Description Usage Value Examples
return a data frame with the probability distribution
1 | bin_distribution(trials, prob)
|
probability distribution
1 2 3 4 5 | #Build a binomial distribution with 5 trials, prob = 0.5
dis <- bin_distribution(trials=5,prob=0.5)
dis
#plot binomial distribution
plot(dis)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.