multinomdist {mistr} | R Documentation |
Creates an Object Representing Multinomial Distribution
Description
The function creates an object which represents the multinomial distribution.
Usage
multinomdist(size = 10, prob = c(0.5, 0.5))
Arguments
size |
size parameter, default: 10. |
prob |
probability parameter vector, default: c(0.5, 0.5). |
Details
See Multinomial
.
Value
Object of class multinomdist.
See Also
Examples
M <- multinomdist(10, c(0.5, 0.5))
d(M, c(7, 3))
r(M, 5)
[Package mistr version 0.0.6 Index]