nbinomdist {mistr}R Documentation

Creates an Object Representing Negative Binomial Distribution

Description

The function creates an object which represents the negative binomial distribution.

Usage

nbinomdist(size = 10, prob, mu)

Arguments

size

size parameter, default: 10.

prob

probability parameter.

mu

alternative parametrization via mean, see NegBinomial.

Details

See NegBinomial.

Value

Object of class nbinomdist.

See Also

NegBinomial

Examples

N <- nbinomdist(10, 0.5)
d(N, c(2, 3, 4, NA))
r(N, 5)

[Package mistr version 0.0.6 Index]