powered by
The function creates an object which represents the binomial distribution.
binomdist(size = 10, prob = 0.5)
Object of class binomdist.
size parameter, default: 10.
probability parameter, default: 0.5.
See Binomial.
Binomial
B <- binomdist(10, 0.4) d(B, c(2, 3, 4, NA)) r(B, 5)
Run the code above in your browser using DataLab