powered by
rand(nrow = 1, ncol = 1, ..., min = 0, max = 1)
rand
randi
randn
runif
rand(100, 100) # 100 by 100 matrix of uniform random numbers rand(2, 3, min = 100, max = 200)
Run the code above in your browser using DataLab