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

hyperdist

Creates an Object Representing Hypergeometric Distribution


Description

The function creates an object which represents the hypergeometric distribution.

Usage

hyperdist(m = 10, n = 10, k = 5)

Arguments

m

the number of white balls in the urn, default: 10.

n

the number of black balls in the urn, default: 10.

k

the number of balls drawn from the urn, default: 5.

Details

Value

Object of class hyperdist.

See Also

Examples

H <- hyperdist(0.5)
d(H, c(2, 3, 4, NA))
r(H, 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.