rmultinomial: Generate Multinomial Random Variable

Description Usage Arguments Value Author(s)

View source: R/RcppExports.R

Description

Sample a multinomial random variable for given probabilities.

Usage

1

Arguments

ps

A vector for the probability of each category.

Value

A vector from a multinomial with probability ps.

Author(s)

Steven Andrew Culpepper


dina documentation built on May 29, 2017, 1:45 p.m.