powered by
Generate random sample from a discrete uniform distribution
rdunif(n, b, a = 1)
Number of samples to draw.
Range of the distribution (inclusive).
# NOT RUN { table(rdunif(1e3, 10)) table(rdunif(1e3, 10, -5)) # }
Run the code above in your browser using DataLab