Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

multinomdist

Creates an Object Representing Multinomial Distribution


Description

The function creates an object which represents the multinomial distribution.

Usage

multinomdist(size = 10, prob = c(0.5, 0.5))

Arguments

size

size parameter, default: 10.

prob

probability parameter vector, default: c(0.5, 0.5).

Details

Value

Object of class multinomdist.

See Also

Examples

M <- multinomdist(10, c(0.5, 0.5))
d(M, c(7, 3))
r(M, 5)

mistr

Mixture and Composite Distributions

v0.0.4
GPL-3
Authors
Lukas Sablica [aut, cre] (<https://orcid.org/0000-0001-9166-4563>), Kurt Hornik [aut] (<https://orcid.org/0000-0003-4198-9911>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.