plotHYPER: Plot of Hypergeometric Distribution

Description Usage Arguments Examples

Description

X is the random variable that is equal the number of successes in the sample selected randomly (without replacement).

Usage

1
plotHYPER(N, K, n, hlt = FALSE, i = 2, f = 4)

Arguments

N

a set of N objects

K

objects classified as successes

n

a sample size of objects selected randomly (without replacement) from the set of N objects where 'K <= N' and 'n <= N'

hlt

logical (default is FALSE); if TRUE, probabilities P[i ≤ X ≤ f] are highlighted in green color in the plot

i, f

highlight probability from i' initial value of distribution to 'f' final value of distribution

Examples

1
plotHYPER(N = 10,K = 5,n = 5, hlt = TRUE, i = 2, f = 4)

Zibetti/Plothtests documentation built on Feb. 5, 2021, 8:32 p.m.