men_hyp {HKRbook}R Documentation

men_hyp

Description

Visualization of the probability mass and the cumulative distribution function of a hypergeometric distribution.

Usage

men_hyp(N = 60, M = 30, n = 20)

Arguments

N

integer: the number of black and white balls in the urn

M

integer: the number of white balls in the urn

n

integer: the number of balls drawn from the urn

Value

nothing

Examples

if (interactive()) men_hyp()
if (interactive()) men_hyp(50, 25, 10)

[Package HKRbook version 0.1.3 Index]