hyperdist: Creates an Object Representing Hypergeometric Distribution

View source: R/creators.R

hyperdistR Documentation

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

See Hypergeometric.

Value

Object of class hyperdist.

See Also

Hypergeometric

Examples

H <- hyperdist(0.5)
d(H, c(2, 3, 4, NA))
r(H, 5)

mistr documentation built on March 7, 2023, 7:42 p.m.