Below are examples of generating 5 random numbers using various probability distributions.
Uniform distribution between 0 and 10
runif(5, min=0, max=10)
[1] 2.1724399 8.9209930 6.1969249 9.3303321 2.4054102
Normal distribution with 0 mean and standard deviation of 1
rnorm(5, mean=0, sd=1)
[1...