nbinomdist: Creates an Object Representing Negative Binomial Distribution

View source: R/creators.R

nbinomdistR 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)

mistr documentation built on March 7, 2023, 7:42 p.m.