Learn R Programming

distributional (version 0.1.0)

dist_negative_binomial: The Negative Binomial distribution

Description

stable

Usage

dist_negative_binomial(size, prob)

Arguments

size

target for number of successful trials, or dispersion parameter (the shape parameter of the gamma mixing distribution). Must be strictly positive, need not be integer.

prob

probability of success in each trial. 0 < prob <= 1.

See Also

stats::NegBinomial

Examples

Run this code
# NOT RUN {
dist_negative_binomial(size = 10, prob = 0.5)

# }

Run the code above in your browser using DataLab