rnbinomMV: Randomly Generate Negative Binomial Variable with parameters...

Description Usage Arguments Examples

View source: R/rnbinomMV.R

Description

This function is based on the re-parameterized Negative Binomial distribution to generate random observations.

Usage

1
rnbinomMV(n, mu, v)

Arguments

n

The number of values that will be randomly generated.

mu

The expectation of the Negative Binomial distribution.

v

The variance of the Negative Binomial distribution.

Examples

1
2
x <- rnbinomMV(50, 10, 15)
hist(x)

sSeq documentation built on Nov. 8, 2020, 5:52 p.m.