binomdist {mistr} | R Documentation |
Creates an Object Representing Binomial Distribution.
Description
The function creates an object which represents the binomial distribution.
Usage
binomdist(size = 10, prob = 0.5)
Arguments
size |
size parameter, default: 10. |
prob |
probability parameter, default: 0.5. |
Details
See Binomial
.
Value
Object of class binomdist.
See Also
Examples
B <- binomdist(10, 0.4)
d(B, c(2, 3, 4, NA))
r(B, 5)
[Package mistr version 0.0.6 Index]