Description Usage Arguments Value Examples
plotHyper
represents the probability mass and/or the distribution function associated with a Hypergeometric
distribution with parameters N
, n
and k
.
1 |
N |
the population size. |
n |
the number of draws. |
k |
the number of success states in the population. |
type |
a character string giving the type of desired plot. The following values are possible: "b" (default) for probability mass function and distribution function representations together, "d" for distribution function representation and "p" for probability mass function representation. |
col |
a single colour associated with the probability mass function representation; default to "grey". |
A matrix containing the probability mass and the distribution function associated with each point
of the support of a Hypergeometric distribution with parameters N
, n
and k
.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.