rnbinomMV {sSeq} | R Documentation

## Randomly Generate Negative Binomial Variable with parameters mean and variance.

### Description

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

### Usage

    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

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

[Package sSeq version 1.24.0 Index]