# rmultinomial: Random Number Generator for the Multinomial Distribution

## Description

Generates a random count vector for one observation of a multinomial
distribution for `n`

trials with probability vector `pr`

.
## Usage

rmultinomial(n = 5, pr = c(0.5, 0.5), long = FALSE)

## Arguments

long

`TRUE`

to choose one generator, `FALSE`

to choose another one.

## Details

Generates a random count vector for one observation of a multinomial
distribution for `n`

trials with probability vector `pr`

.
## Examples

rmultinomial(10, c(.3, .3, .4));