powered by
The function creates an object which represents the negative binomial distribution.
nbinomdist(size = 10, prob, mu)
Object of class nbinomdist.
size parameter, default: 10.
probability parameter.
alternative parametrization via mean, see NegBinomial.
NegBinomial
See NegBinomial.
N <- nbinomdist(10, 0.5) d(N, c(2, 3, 4, NA)) r(N, 5)
Run the code above in your browser using DataLab