| myhyper | R Documentation | 
a function which shows the hypergeometric distribution of a sample. Shows probability of number of successes while sampling without replacement
myhyper(iter = 100, N = 20, r = 12, n = 5)
| iter | number of iterations | 
| N | population size | 
| r | number of successes in population | 
| n | number of samples each iteration without replacement | 
a bar plot of the distribution and associated table
myhyper()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.