Description Usage Arguments Value Examples
The Discrete Uniform Distribution
1 2 3 4 5 6 7 |
x |
vector of (non-negative integer) quantiles |
min |
minimum value of distribution (integer) |
max |
maximum value of distribution (integer) |
q |
vector of quantiles |
p |
vector of probabilities |
n |
number of random values to return |
ddunif gives the density, pdunif gives the distribution function, qdunif gives the quantile function, rdunif generates random deviates
1 2 3 4 |
[1] 0.5 0.5
[1] 1
[1] 1
[1] 0 1 1 0 0 1 1 0 0 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.