Description Usage Arguments Details Examples
Probability mass function, distribution function, quantile function and random generation for the discrete uniform distribution.
1 2 3 4 5 6 7 |
x, q |
vector of quantiles. |
min, max |
lower and upper limits of the distribution. Must be finite. |
log, log.p |
logical; if TRUE, probabilities p are given as log(p). |
lower.tail |
logical; if TRUE (default), probabilities are P[X ≤ x] otherwise, P[X > x]. |
p |
vector of probabilities. |
n |
number of observations. If |
If min == max
, then discrete uniform distribution is a degenerate distribution.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.