One way to generate uniformly distributed numbers in R is use the runif() function. runif is short for “random uniform”. R has other random number generating functions. For example rnorm generates random normal numbers. runif() takes three arguments, thrst is n – number of numbers we want and min and max for generating numbers between… Continue reading runif()- generate uniform random numbers