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). |
#> #> 1 2 3 4 5 6 7 8 9 10 #> 91 109 101 108 84 115 87 98 99 108#> #> -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 10 #> 49 72 83 62 59 50 56 68 54 73 65 63 73 47 67 59