men_hyp: men_hyp

View source: R/men_hyp.R

men_hypR 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)

HKRbook documentation built on Oct. 6, 2022, 9:06 a.m.