R: Uniform Distribution
I. Random Number Generation
To create
> runif(n = 10, min = 5, max = 10)
[1] 9.763984 6.557762 6.099979 9.065652 9.253308 9.546240 9.258901
[8] 8.757526 7.468923 9.245032
to create
> runif(n = 20, min = 50, max = 100)
[1] 89.91974 77.36943 70.08643 72.08990 68.88395 61.67588 68.67348
[8] 50.15688 95.86126 67.11795 79.97935 65.11928 76.29705 81.48124
[15] 54.79971 59.21889 53.13065 82.20991 89.36462 67.69820