Generate random sample from a discrete uniform distribution
Generate random sample from a discrete uniform distribution
rdunif(n, b, a = 1)
n |
Number of samples to draw. |
a, b |
Range of the distribution (inclusive). |
table(rdunif(1e3, 10)) table(rdunif(1e3, 10, -5))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.